Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Contains information about a file-system volume.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.IO..::..VolumeInfo
Namespace: Microsoft.SPOT.IO
Assembly: Microsoft.SPOT.IO (in Microsoft.SPOT.IO.dll)
Syntax
'Declaration
Public NotInheritable Class VolumeInfo
public sealed class VolumeInfo
public ref class VolumeInfo sealed
[<Sealed>]
type VolumeInfo = class end
public final class VolumeInfo
The VolumeInfo type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
VolumeInfo | Initializes a new instance of the VolumeInfo class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
IsFormatted | Determines whether this volume is already formatted or not. |
![]() |
RootDirectory | Gets the root directory on this volume. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
FlushAll | Flushes all information. |
![]() |
Format(UInt32) | Formats this volume using the file system designated in the FileSystem field, without forcing removal of the rooted namespace of the volume. |
![]() |
Format(String, UInt32) | Formats this volume, without forcing removal of the rooted namespace of the volume. |
![]() |
Format(UInt32, Boolean) | Formats this volume using the file system designated in the FileSystem field and optionally forces removal of the rooted namespace of the volume. |
![]() |
Format(String, UInt32, Boolean) | Formats this volume and optionally forces removal of the rooted namespace of the volume. |
![]() |
Format(String, UInt32, String, Boolean) | Formats this volume with the specified volume label, and optionally forces removal of the rooted namespace of the volume. |
![]() ![]() |
GetFileSystems | Gets a list of the available file systems. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() |
GetVolumes | Gets a list of known volumes. |
![]() |
Refresh | Checks the hardware to refresh information about volumes. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() |
DeviceFlags | Flags containing information about the volume device. |
![]() |
FileSystem | The file system used on the volume. |
![]() |
FileSystemFlags | Flags containing information about the file system used on the volume. |
![]() |
Name | Provides the name of the volume. |
![]() |
SerialNumber | Provides the serial number of this volume. |
![]() |
TotalFreeSpace | Provides the total free space available on this volume, in bytes. |
![]() |
TotalSize | Provides the total size available for content on this volume, in bytes. |
![]() |
VolumeID | Provides the ID number associated with this volume. |
![]() |
VolumeLabel | Provides the label assigned to this volume by a user. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)