DirectorySeparatorChar Field
Collapse the table of content
Expand the table of content

Path.DirectorySeparatorChar Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:  mscorlib (in mscorlib.dll)

public static readonly char DirectorySeparatorChar

The DirectorySeparatorChar and AltDirectorySeparatorChar fields are valid for separating directory levels in a path string.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft