Compartilhar via


DriveInfo.Capacity Property

 

Gets and sets a number that describes the capacity of the drive.

Namespace:   Microsoft.WindowsServerSolutions.Storage
Assembly:  StorageOM (in StorageOM.dll)

Syntax

[DataMemberAttribute]
public ulong Capacity { get; set; }
public:
[DataMemberAttribute]
property unsigned long long Capacity {
    unsigned long long get();
    void set(unsigned long long value);
}
<DataMemberAttribute>
Public Property Capacity As ULong

Property Value

Type: System.UInt64

The capacity of the drive.

See Also

DriveInfo Class
Microsoft.WindowsServerSolutions.Storage Namespace

Return to top