Determines whether a given string is a valid browse name.
Syntax
'Declaration
<ContractAnnotationAttribute("null => false")>
<PureAttribute()>
Public Shared Function IsValidBrowseName( _
ByVal 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
)
[ContractAnnotation("null => false")]
[Pure()]
public:
static bool IsValidBrowseName(
String^
)
Parameters
- browseName
- The string to be tested for validity.
Return Value
true
when the given string is a valid browse name; false
otherwise.
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