DriveInfoVolumeLabel Property |
Gets or sets the volume label of a drive.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public string VolumeLabel { get; set; }
Public Property VolumeLabel As String
Get
Set
public:
property String^ VolumeLabel {
String^ get ();
void set (String^ value);
}
member VolumeLabel : string with get, set
Return Value
Type:
StringThe volume label.
Remarks
The label length is determined by the operating system. For example, NTFS allows a volume label
to be up to 32 characters long. Note that is a valid VolumeLabel.
See Also