OPC Studio User's Guide and Reference
SourceTypeName Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > EventSource Class : SourceTypeName Property
The name of the source type (optional).
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<CanBeNullAttribute()>
<XmlIgnoreAttribute()>
Public Property SourceTypeName As String
'Usage
 
Dim instance As EventSource
Dim value As String
 
instance.SourceTypeName = value
 
value = instance.SourceTypeName
[Browsable(false)]
[CanBeNull()]
[XmlIgnore()]
public string SourceTypeName {get; set;}
[Browsable(false)]
[CanBeNull()]
[XmlIgnore()]
public:
property String^ SourceTypeName {
   String^ get();
   void set (    String^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

Remarks
Contains null when not specified. Specifying the source type name is only necessary when there is an ambiguity selecting a source member by name. This happens when multiple method overloads exist; specifying the source type name allows to select the intended one.
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