System.Windows.Forms.FileDialogCustomPlacesCollection.Add Method

Adds a custom place to the System.Windows.Forms.FileDialogCustomPlacesCollection collection.

Syntax

public void Add (string path)

Parameters

path
A folder path to the custom place.

Remarks

The folder is added to custom places only for a particular System.Windows.Forms.FileDialog and is not a system or application wide change.

The folders are positioned in the custom places in the order that they are added to the System.Windows.Forms.FileDialog. The last one added will be at the top.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0