OPC Studio User's Guide and Reference
SourceElement Property



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