語言

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

路徑。

傳回

這是這條路的最後一段。

適用於