VolumeInfo Class

[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
Public method VolumeInfo Initializes a new instance of the VolumeInfo class.

Top

Properties

  Name Description
Public property IsFormatted Determines whether this volume is already formatted or not.
Public property RootDirectory Gets the root directory on this volume.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method FlushAll Flushes all information.
Public method Format(UInt32) Formats this volume using the file system designated in the FileSystem field, without forcing removal of the rooted namespace of the volume.
Public method Format(String, UInt32) Formats this volume, without forcing removal of the rooted namespace of the volume.
Public method 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.
Public method Format(String, UInt32, Boolean) Formats this volume and optionally forces removal of the rooted namespace of the volume.
Public method Format(String, UInt32, String, Boolean) Formats this volume with the specified volume label, and optionally forces removal of the rooted namespace of the volume.
Public methodStatic member GetFileSystems Gets a list of the available file systems.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member GetVolumes Gets a list of known volumes.
Public method Refresh Checks the hardware to refresh information about volumes.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field DeviceFlags Flags containing information about the volume device.
Public field FileSystem The file system used on the volume.
Public field FileSystemFlags Flags containing information about the file system used on the volume.
Public field Name Provides the name of the volume.
Public field SerialNumber Provides the serial number of this volume.
Public field TotalFreeSpace Provides the total free space available on this volume, in bytes.
Public field TotalSize Provides the total size available for content on this volume, in bytes.
Public field VolumeID Provides the ID number associated with this volume.
Public field 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.

See Also

Reference

Microsoft.SPOT.IO Namespace