QuickOPC User's Guide and Reference
Implicit Type Conversion(UANodeDescriptor,String) Operator



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UANodeDescriptor Class > Implicit Type Conversion Operator : Implicit Type Conversion(UANodeDescriptor,String) Operator
An node Id expanded text (contains namespace URI, and namespace-relative node Id).
Converts a System.String to a node descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Overloads Public Operator Widening CType( _
   ByVal nodeIdExpandedText As String _
) As UANodeDescriptor
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public UANodeDescriptor operator implicit( 
   string nodeIdExpandedText
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
operator UANodeDescriptor^ ( 
   String^ nodeIdExpandedText
)

Parameters

nodeIdExpandedText
An node Id expanded text (contains namespace URI, and namespace-relative node Id).

Return Value

For a non-null input, returns the node descriptor with the given node Id expanded text. Returns null if the input is null.
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