Determines whether the specified volume name is a defined volume on the current computer.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static bool IsVolume(
string volumeMountPoint
)
Public Shared Function IsVolume (
volumeMountPoint As String
) As Boolean
public:
static bool IsVolume(
String^ volumeMountPoint
)
static member IsVolume :
volumeMountPoint : string -> bool
Parameters
- volumeMountPoint
- Type: SystemString
A path to a volume. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\".
Return Value
Type:
Boolean on success,
otherwise.
See Also