Modifier

Partager via


Directory.GetParent(String) Method

Definition

public:
 static Microsoft::IO::DirectoryInfo ^ GetParent(System::String ^ path);
public static Microsoft.IO.DirectoryInfo? GetParent (string path);
static member GetParent : string -> Microsoft.IO.DirectoryInfo
Public Shared Function GetParent (path As String) As DirectoryInfo

Parameters

path
String

Returns

Applies to