OPC Studio User's Guide and Reference
Explicit Type Conversion Operator (UAWriteValueArguments)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel Namespace > UAWriteValueArguments Class : Explicit Type Conversion Operator
The write value arguments to be converted.

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

Converts write value arguments to corresponding "write arguments", UAWriteArguments.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Narrowing CType( _
   ByVal writeValueArguments As UAWriteValueArguments _
) As UAWriteArguments
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public UAWriteArguments operator explicit( 
   UAWriteValueArguments writeValueArguments
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
UAWriteArguments^ operator explicit( 
   UAWriteValueArguments^ writeValueArguments
)

Parameters

writeValueArguments
The write value arguments to be converted.

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

Return Value

The write arguments that corresponds to the write value arguments. null if the write value arguments passed in were null.

This method can return null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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