OPC Studio User's Guide and Reference
Implicit Type Conversion(ResourceAddress,String) Operator



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Networking Namespace > ResourceAddress Class > Implicit Type Conversion Operator : Implicit Type Conversion(ResourceAddress,String) Operator
The descriptor string to create the resource address from.

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

Creates a resource address from a descriptor string.
Syntax
'Declaration
 
<NotNullAttribute()>
Overloads Public Operator Widening CType( _
   ByVal descriptorString As String _
) As ResourceAddress
'Usage
 
[NotNull()]
public ResourceAddress operator implicit( 
   string descriptorString
)
[NotNull()]
public:
operator ResourceAddress^ ( 
   String^ descriptorString
)

Parameters

descriptorString
The descriptor string to create the resource address from.

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

Return Value

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

Remarks

This operator is equivalent to FromString.

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