DirectoryExistsDrive Method (String, Boolean) |
[AlphaFS] Checks the specified path for local or network drives, such as: "C:" and "\\server\c$".
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static bool ExistsDrive(
string path,
bool throwIfDriveNotExists
)
Public Shared Function ExistsDrive (
path As String,
throwIfDriveNotExists As Boolean
) As Boolean
public:
static bool ExistsDrive(
String^ path,
bool throwIfDriveNotExists
)
static member ExistsDrive :
path : string *
throwIfDriveNotExists : bool -> bool
Parameters
- path
- Type: SystemString
[Missing <param name="path"/> documentation for "M:Alphaleonis.Win32.Filesystem.Directory.ExistsDrive(System.String,System.Boolean)"]
- throwIfDriveNotExists
- Type: SystemBoolean
[Missing <param name="throwIfDriveNotExists"/> documentation for "M:Alphaleonis.Win32.Filesystem.Directory.ExistsDrive(System.String,System.Boolean)"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:Alphaleonis.Win32.Filesystem.Directory.ExistsDrive(System.String,System.Boolean)"]
See Also