OPC Studio User's Guide and Reference
TargetType Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace > LinkingTarget Class : TargetType Property
The type of the target object.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public ReadOnly Property TargetType As Type
'Usage
 
Dim instance As LinkingTarget
Dim value As Type
 
value = instance.TargetType
[CanBeNull()]
public Type TargetType {get;}
[CanBeNull()]
public:
property Type^ TargetType {
   Type^ get();
}

Property Value

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

The default value of this property is null.

Remarks
The target type can be null unless the derived class requires otherwise, e.g. in order to support linking to events.

The getter method of this property is pure, i.e. it does not have observable side effects.

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