Click or drag to resize

DirectoryGetDrive Method

On Windows, returns the name of the drive (partition) passed as an argument (e.g. C:). On other platforms, or if the requested drive does not exist, the method returns an empty String.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public string GetDrive(
	int idx
)

Parameters

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.Directory.GetDrive(System.Int32)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Godot.Directory.GetDrive(System.Int32)"]

See Also