PathIsLocalPath Method (String, Boolean) |
[AlphaFS] Determines whether the specified path is a local path.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static bool IsLocalPath(
string path,
bool checkInvalidPathChars
)
Public Shared Function IsLocalPath (
path As String,
checkInvalidPathChars As Boolean
) As Boolean
public:
static bool IsLocalPath(
String^ path,
bool checkInvalidPathChars
)
static member IsLocalPath :
path : string *
checkInvalidPathChars : bool -> bool
Parameters
- path
- Type: SystemString
The path to check. - checkInvalidPathChars
- Type: SystemBoolean
will check path for invalid path characters.
Return Value
Type:
Boolean if the specified path is a local path,
otherwise.
Exceptions See Also