System.Web.UI.Design.DesignerAutoFormatCollection.Add Method

Adds the specified System.Web.UI.Design.DesignerAutoFormat object to the end of the collection.

Syntax

public int Add (DesignerAutoFormat format)

Parameters

format
An instance of System.Web.UI.Design.DesignerAutoFormat.

Returns

The index at which the format was added to the collection.

Remarks

The DesignerAutoFormatCollection.Add(DesignerAutoFormat) method adds the specified System.Web.UI.Design.DesignerAutoFormat object to the end of the collection. To add a System.Web.UI.Design.DesignerAutoFormat object to the collection at a specific index location, use the DesignerAutoFormatCollection.Insert(int, DesignerAutoFormat) method.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0