OPC Studio User's Guide and Reference
Implicit Type Conversion Operator (BrowsePath)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Navigation Namespace > BrowsePath Class : Implicit Type Conversion Operator
The string containing the absolute browse path to be parsed.
Converts a string (containing an absolute browse path) to a browse path object.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<PureAttribute()>
Public Operator Widening CType( _
   ByVal value As String _
) As BrowsePath
'Usage
 
[CanBeNull()]
[Pure()]
public BrowsePath operator implicit( 
   string value
)
[CanBeNull()]
[Pure()]
public:
operator BrowsePath^ ( 
   String^ value
)

Parameters

value
The string containing the absolute browse path to be parsed.

Return Value

Returns null when the input is null or an empty string. Otherwise, if the input string can be parsed, returns the corresponding browse path object.
Exceptions
ExceptionDescription
The browse path cannot be parsed.
Remarks
The input browse path, if not null, must be absolute.
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