OPC Studio User's Guide and Reference
IsValidBrowseName Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Navigation Namespace > BrowsePath Class : IsValidBrowseName Method
The string to be tested for validity.
Determines whether a given string is a valid browse name.
Syntax
'Declaration
 
<ContractAnnotationAttribute("null => false")>
<PureAttribute()>
Public Shared Function IsValidBrowseName( _
   ByVal browseName As String _
) As Boolean
'Usage
 
Dim browseName As String
Dim value As Boolean
 
value = BrowsePath.IsValidBrowseName(browseName)
[ContractAnnotation("null => false")]
[Pure()]
public static bool IsValidBrowseName( 
   string browseName
)
[ContractAnnotation("null => false")]
[Pure()]
public:
static bool IsValidBrowseName( 
   String^ browseName
) 

Parameters

browseName
The string to be tested for validity.

Return Value

true when the given string is a valid browse name; false otherwise.
Remarks
Any non-empty string is a valid browse name.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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