ConfigurationPath.GetParentPath(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- path
- String
The path.
The original path minus the last individual segment found in it. Null if the original path corresponds to a top level node.
מוצר | גירסאות |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.
משוב של .NET
.NET הוא פרויקט קוד פתוח. בחר קישור כדי לספק משוב: