DiskSpaceInfo Constructor (String, NullableBoolean, Boolean, Boolean) |
Initializes a DiskSpaceInfo instance.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public DiskSpaceInfo(
string drivePath,
Nullable<bool> spaceInfoType,
bool refresh,
bool continueOnException
)
Public Sub New (
drivePath As String,
spaceInfoType As Nullable(Of Boolean),
refresh As Boolean,
continueOnException As Boolean
)
public:
DiskSpaceInfo(
String^ drivePath,
Nullable<bool> spaceInfoType,
bool refresh,
bool continueOnException
)
new :
drivePath : string *
spaceInfoType : Nullable<bool> *
refresh : bool *
continueOnException : bool -> DiskSpaceInfo
Parameters
- drivePath
- Type: SystemString
A valid drive path or drive letter. This can be either uppercase or lowercase, 'a' to 'z' or a network share in the format: \\server\share - spaceInfoType
- Type: SystemNullableBoolean
gets both size- and disk cluster information. Get only disk cluster information, Get only size information. - refresh
- Type: SystemBoolean
Refreshes the state of the object. - continueOnException
- Type: SystemBoolean
suppress any Exception that might be thrown as a result from a failure, such as unavailable resources.
See Also