Partager via


DriveInfo.DiskNumber Property

 

Gets and sets the disk number.

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

Syntax

public int DiskNumber { get; set; }
public:
property int DiskNumber {
    int get();
    void set(int value);
}
Public Property DiskNumber As Integer

Property Value

Type: System.Int32

The disk number.

See Also

DriveInfo Class
Microsoft.WindowsServerSolutions.Storage Namespace

Return to top