OPC Studio User's Guide and Reference
TargetComponent Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Referencing Namespace > ValueTarget Class : TargetComponent Property
The component that is the target of the value.
Syntax
'Declaration
 
<CanBeNullAttribute()> 
<DefaultValueAttribute("")> 
<TypeConverterAttribute(OpcLabs.BaseLib.ComponentModel.Referencing.Internal.AutoExtensibleComponentReferenceConverter`1)> 
Public Property TargetComponent As IComponent
'Usage
 
Dim instance As ValueTarget
Dim value As IComponent
 
instance.TargetComponent = value
 
value = instance.TargetComponent
[CanBeNull()] 
[DefaultValue("")] 
[TypeConverter(OpcLabs.BaseLib.ComponentModel.Referencing.Internal.AutoExtensibleComponentReferenceConverter`1)] 
public IComponent TargetComponent {get; set;}
[CanBeNull()] 
[DefaultValue("")] 
[TypeConverter(OpcLabs.BaseLib.ComponentModel.Referencing.Internal.AutoExtensibleComponentReferenceConverter`1)] 
public: 
property IComponent^ TargetComponent { 
   IComponent^ get(); 
   void set (    IComponent^ value); 
}
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