VolumeQueryDosDevice Method |
Retrieves information about MS-DOS device names. The function can obtain the current mapping for a particular MS-DOS device name.
The function can also obtain a list of all existing MS-DOS device names.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static IEnumerable<string> QueryDosDevice(
string deviceName,
params string[] options
)
Public Shared Function QueryDosDevice (
deviceName As String,
ParamArray options As String()
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ QueryDosDevice(
String^ deviceName,
... array<String^>^ options
)
static member QueryDosDevice :
deviceName : string *
options : string[] -> IEnumerable<string>
Parameters
- deviceName
- Type: SystemString
An MS-DOS device name string, or part of, specifying the target of the query. This parameter can be . In that
case, the QueryDosDevice function will store a list of all existing MS-DOS device names into the buffer.
- options
- Type: SystemString
(Optional, default: ) If options[0] = a sorted list will be returned.
Return Value
Type:
IEnumerableStringAn
IEnumerableT with one or more existing MS-DOS device names.
See Also