'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub SubscribeTarget( _ ByVal clientMapper As DAClientMapper, _ ByVal active As Boolean, _ ByVal mappingTag As String, _ ByVal targetObject As Object, _ ByVal recurse As Boolean _ )
'Usage
Dim clientMapper As DAClientMapper Dim active As Boolean Dim mappingTag As String Dim targetObject As Object Dim recurse As Boolean DAClientMapperExtension.SubscribeTarget(clientMapper, active, mappingTag, targetObject, recurse)
[Extension()] public static void SubscribeTarget( DAClientMapper clientMapper, bool active, string mappingTag, object targetObject, bool recurse )
[Extension()] public: static void SubscribeTarget( DAClientMapper^ clientMapper, bool active, String^ mappingTag, Object^ targetObject, bool recurse )
Parameters
- clientMapper
- The client mapper object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - active
true
to subscribe;false
to unsubscribe.- mappingTag
- The operation will be performed only on mappings tagged with this mapping tag.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - targetObject
- The object being targeted.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - recurse
true
to operate on sub-targets (mapped members of the target) recursively;false
otherwise.