OPC Studio User's Guide and Reference
Parse Method (UAIndexRangeListParser)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Parsing Namespace > UAIndexRangeListParser Class : Parse Method
Formatted text of the index range list.

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

Parses a string containing an index range list, and returns a corresponding index range list object.
Syntax
'Declaration
 
Public Function Parse( _
   ByVal formattedText As String _
) As UAIndexRangeList
'Usage
 
Dim instance As UAIndexRangeListParser
Dim formattedText As String
Dim value As UAIndexRangeList
 
value = instance.Parse(formattedText)

Parameters

formattedText
Formatted text of the index range list.

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

Return Value

Returns the OPC-UA index range list object parsed from the input value.

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

The individual elements of the returned value are never null (Nothing in Visual Basic).

Exceptions
ExceptionDescription
The string format of the OPC-UA index range list is incorrect.
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