Path.DirectorySeparatorChar Field

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)

'Declaration
Public Shared ReadOnly DirectorySeparatorChar As Char

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:
© 2015 Microsoft