編輯

共用方式為


Path Class

Definition

public ref class Path abstract sealed
public static class Path
type Path = class
Public Class Path
Inheritance
Path

Fields

AltDirectorySeparatorChar
DirectorySeparatorChar
InvalidPathChars
PathSeparator
VolumeSeparatorChar

Methods

ChangeExtension(String, String)
Combine(String, String, String, String)
Combine(String, String, String)
Combine(String, String)
Combine(String[])
EndsInDirectorySeparator(ReadOnlySpan<Char>)
EndsInDirectorySeparator(String)
GetDirectoryName(ReadOnlySpan<Char>)
GetDirectoryName(String)
GetExtension(ReadOnlySpan<Char>)
GetExtension(String)
GetFileName(ReadOnlySpan<Char>)
GetFileName(String)
GetFileNameWithoutExtension(ReadOnlySpan<Char>)
GetFileNameWithoutExtension(String)
GetFullPath(String, String)
GetFullPath(String)
GetInvalidFileNameChars()
GetInvalidPathChars()
GetPathRoot(ReadOnlySpan<Char>)
GetPathRoot(String)
GetRandomFileName()
GetRelativePath(String, String)
GetTempFileName()
GetTempPath()
HasExtension(ReadOnlySpan<Char>)
HasExtension(String)
IsPathFullyQualified(ReadOnlySpan<Char>)
IsPathFullyQualified(String)
IsPathRooted(ReadOnlySpan<Char>)
IsPathRooted(String)
Join(ReadOnlySpan<Char>, ReadOnlySpan<Char>, ReadOnlySpan<Char>, ReadOnlySpan<Char>)
Join(ReadOnlySpan<Char>, ReadOnlySpan<Char>, ReadOnlySpan<Char>)
Join(ReadOnlySpan<Char>, ReadOnlySpan<Char>)
Join(String, String, String, String)
Join(String, String, String)
Join(String, String)
Join(String[])
TrimEndingDirectorySeparator(ReadOnlySpan<Char>)
TrimEndingDirectorySeparator(String)
TryJoin(ReadOnlySpan<Char>, ReadOnlySpan<Char>, ReadOnlySpan<Char>, Span<Char>, Int32)
TryJoin(ReadOnlySpan<Char>, ReadOnlySpan<Char>, Span<Char>, Int32)

Applies to