ConfigurationPath.GetParentPath(String) Método

Definição

Extrai o caminho correspondente para o nó pai de um determinado caminho.Extracts the path corresponding to the parent node for a given path.

public:
 static System::String ^ GetParentPath(System::String ^ path);
public static string GetParentPath (string path);
static member GetParentPath : string -> string
Public Shared Function GetParentPath (path As String) As String

Parâmetros

path
String

O caminho.The path.

Retornos

String

O caminho original menos o último segmento individual encontrado nele.The original path minus the last individual segment found in it. Nulo se o caminho original corresponder a um nó de nível superior.Null if the original path corresponds to a top level node.

Aplica-se a