Converts a string (containing an absolute browse path) to a browse path object.
[JetBrains.Annotations.CanBeNull()]
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.Pure()]
public static BrowsePath FromString(
string
)
[JetBrains.Annotations.CanBeNull()]
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.Pure()]
public:
static BrowsePath^ FromString(
String^
)
'Declaration
<JetBrains.Annotations.CanBeNullAttribute()>
<JetBrains.Annotations.MustUseReturnValueAttribute()>
<JetBrains.Annotations.PureAttribute()>
Public Shared Function FromString( _
ByVal As String _
) As BrowsePath
'Usage
Dim value As String
Dim value As BrowsePath
value = BrowsePath.FromString(value)
Parameters
- value
- The string containing the absolute browse path to be parsed.
The value of this parameter can be null
(Nothing
in Visual Basic).
Return Value
Returns
null
when the input is
null
or an empty string. Otherwise, if the input string can be parsed, returns the corresponding browse path object.
This method can return null
(Nothing
in Visual Basic).
This return value of this method should not be ignored.
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