共用方式為


VariablePath.DriveName Property

Definition

The drive name, or null if the path is for a variable. It may also be null for some functions (specifically if this is a FunctionScopedItemLookupPath.)

public:
 property System::String ^ DriveName { System::String ^ get(); };
public:
 property Platform::String ^ DriveName { Platform::String ^ get(); };
public string DriveName { get; }
member this.DriveName : string
Public ReadOnly Property DriveName As String

Property Value

Applies to