Share via


ConfigurationPath.GetSectionKey(String) 方法

定義

從路徑擷取最後一個路徑區段。

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

參數

path
String

路徑。

傳回

路徑的最後一個路徑區段。

適用於