QuickOPC User's Guide and Reference
SourceComponent Property



View with Navigation Tools
OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > EventSource Class : SourceComponent Property
The component that is the source of the event.
Syntax
'Declaration
 
<CanBeNullAttribute()> 
<DefaultValueAttribute("")> 
<TypeConverterAttribute(OpcLabs.BaseLib.ComponentModel.Referencing.Internal.AutoExtensibleComponentReferenceConverter`1)> 
Public Property SourceComponent As IComponent
 
'Usage
 
Dim instance As EventSource
Dim value As IComponent
 
instance.SourceComponent = value
 
value = instance.SourceComponent
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