OPC Studio User's Guide and Reference
CreateLinkingTarget Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveBinding Namespace > AbstractBinding Class : CreateLinkingTarget Method
Creates a linking target, when the binding is being attached to a mapper.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Overridable Function CreateLinkingTarget() As LinkingTarget
'Usage
 
Dim instance As AbstractBinding
Dim value As LinkingTarget
 
value = instance.CreateLinkingTarget()
[NotNull()]
protected virtual LinkingTarget CreateLinkingTarget()
[NotNull()]
protected:
virtual LinkingTarget^ CreateLinkingTarget(); 

Return Value

The newly created linking target.

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

Exceptions
ExceptionDescription
An error during live binding has occurred.

A method call was invalid for the object's current state.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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