ConfigurationPath.GetSectionKey(String) Method

Definition

Extracts the last path segment from the path.

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

Parameters

path
String

The path.

Returns

The last path segment of the path.

Applies to