OPC Studio User's Guide and Reference
NewLinkingTarget Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveBinding Namespace > AbstractBinding Class : NewLinkingTarget Method

The value of this parameter cannot be null (Nothing in Visual Basic).

Instantiates a linking target based on the given value target.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Overridable Function NewLinkingTarget( _
   ByVal valueTarget As ValueTarget _
) As LinkingTarget
'Usage
 
Dim instance As AbstractBinding
Dim valueTarget As ValueTarget
Dim value As LinkingTarget
 
value = instance.NewLinkingTarget(valueTarget)
[NotNull()]
protected virtual LinkingTarget NewLinkingTarget( 
   ValueTarget valueTarget
)
[NotNull()]
protected:
virtual LinkingTarget^ NewLinkingTarget( 
   ValueTarget^ valueTarget
) 

Parameters

valueTarget

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

The linking target that corresponds to a given value target.

This method never returns null (Nothing in Visual Basic).

Exceptions
ExceptionDescription
Error related to the process of member linking.
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