System.IO.IsolatedStorage.IsolatedStorageFile.CreateDirectory Method

Creates a directory in the isolated storage scope.

Syntax

public void CreateDirectory (string dir)

Parameters

dir
The relative path of the directory to create within the isolated storage scope.

Remarks

The created directory initially contains no files. If the directory already exists, the IsolatedStorageFile.CreateDirectory(string) method returns without creating a new directory. The [<topic://cpconcreatingfilesdirectories>] example demonstrates the use of the IsolatedStorageFile.CreateDirectory(string) method

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0