Share via


DirectorySeparatorChar Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

Syntax

'Declaration
Public Shared ReadOnly DirectorySeparatorChar As Char
public static readonly char DirectorySeparatorChar
public:
static initonly wchar_t DirectorySeparatorChar
static val DirectorySeparatorChar: char
public static final var DirectorySeparatorChar : char

.NET Framework Security

See Also

Reference

Path Class

System.IO Namespace