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)

Syntax

Public Shared ReadOnly DirectorySeparatorChar As Char
public static readonly char DirectorySeparatorChar

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Path Class

System.IO Namespace

Other Resources

Data for Windows Phone 8