QuickOPC User's Guide and Reference
TryParse Method (IUAIndexRangeListParser)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Parsing Namespace > IUAIndexRangeListParser Interface : TryParse Method
Formatted text of the index range list.
A OpcLabs.EasyOpc.UA.UAIndexRangeList object. The converted index range list object.
Converts the string representation of an index range list to equivalent index range list object. A return value indicates whether the conversion succeeded.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function TryParse( _
   ByVal input As String, _
   ByRef resultList As UAIndexRangeList _
) As IStringParsingError
'Usage
 
Dim instance As IUAIndexRangeListParser
Dim input As String
Dim resultList As UAIndexRangeList
Dim value As IStringParsingError
 
value = instance.TryParse(input, resultList)

Parameters

input
Formatted text of the index range list.
resultList
A OpcLabs.EasyOpc.UA.UAIndexRangeList object. The converted index range list object.

Return Value

Returns null if input was converted successfully; otherwise, returns an error object that describes the problem.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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