Keysight VISA.NET Help
TryParse Method



The VISA resource name.The VISA resource name.
The detailed information derived by parsing the specified resourceName.The detailed information derived by parsing the specified resourceName.
Parse the specified resourceName to get extended interface information. If the Parse operation is not successful, this function returns false instead of throwing an exception.Parse the specified resourceName to get extended interface information. If the Parse operation is not successful, this function returns false instead of throwing an exception.
Syntax
'Declaration
 
Public Shared Function TryParse( _
   ByVal resourceName As String, _
   ByRef result As ParseResult _
) As Boolean
'Usage
 
Dim resourceName As String
Dim result As ParseResult
Dim value As Boolean
 
value = GlobalResourceManager.TryParse(resourceName, result)
public static bool TryParse( 
   string resourceName,
   out ParseResult result
)
public:
static bool TryParse( 
   String^ resourceName,
   [Out] ParseResult^ result
) 

Parameters

resourceName
The VISA resource name.The VISA resource name.
result
The detailed information derived by parsing the specified resourceName.The detailed information derived by parsing the specified resourceName.

Return Value

true if the Parse operation was successful, false otherwise.True if the Parse operation was successful, false otherwise.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025