OPC Studio User's Guide and Reference
TargetMember Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > ValueTarget Class : TargetMember Property
Name of the member (typically, a property) on the target component. An empty string if the target path has more than one element.
Syntax
'Declaration
 
<NotNullAttribute()>
<XmlIgnoreAttribute()>
Public Property TargetMember As String
'Usage
 
Dim instance As ValueTarget
Dim value As String
 
instance.TargetMember = value
 
value = instance.TargetMember
[NotNull()]
[XmlIgnore()]
public string TargetMember {get; set;}
[NotNull()]
[XmlIgnore()]
public:
property String^ TargetMember {
   String^ get();
   void set (    String^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

Remarks
The member name does not contain a type specifier, even if present in the path.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also