OPC Studio User's Guide and Reference
Create(ValueTarget) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace > LinkingTarget Class > Create Method : Create(ValueTarget) Method
The value target.

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

Creates a linking target based on the given value target.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Create( _
   ByVal valueTarget As ValueTarget _
) As LinkingTarget
'Usage
 
Dim valueTarget As ValueTarget
Dim value As LinkingTarget
 
value = LinkingTarget.Create(valueTarget)
[NotNull()]
public static LinkingTarget Create( 
   ValueTarget valueTarget
)
[NotNull()]
public:
static LinkingTarget^ Create( 
   ValueTarget^ valueTarget
) 

Parameters

valueTarget
The value target.

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