Partager via


DriveInfo.Name Property

 

Gets and sets the name of the drive.

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

Syntax

[DataMemberAttribute]
public string Name { get; set; }
public:
[DataMemberAttribute]
property String^ Name {
    String^ get();
    void set(String^ value);
}
<DataMemberAttribute>
Public Property Name As String

Property Value

Type: System.String

The name of the drive.

See Also

DriveInfo Class
Microsoft.WindowsServerSolutions.Storage Namespace

Return to top