QuickOPC User's Guide and Reference
TargetElement Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > ValueTarget Class : TargetElement Property
The target element (optionally with a type specifier), i.e. the last element of the target path.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DefaultValueAttribute("")>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<NotNullAttribute()>
<XmlIgnoreAttribute()>
Public Property TargetElement As String
'Usage
 
Dim instance As ValueTarget
Dim value As String
 
instance.TargetElement = value
 
value = instance.TargetElement
[Browsable(false)]
[DefaultValue("")]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[NotNull()]
[XmlIgnore()]
public string TargetElement {get; set;}
[Browsable(false)]
[DefaultValue("")]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[NotNull()]
[XmlIgnore()]
public:
property String^ TargetElement {
   String^ get();
   void set (    String^ value);
}
Remarks
The target element is empty when the target path is empty.
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