DesignerAutoFormatCollection.Insert(Int32, DesignerAutoFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a DesignerAutoFormat object into the collection at the specified index.
public:
void Insert(int index, System::Web::UI::Design::DesignerAutoFormat ^ format);
public void Insert (int index, System.Web.UI.Design.DesignerAutoFormat format);
member this.Insert : int * System.Web.UI.Design.DesignerAutoFormat -> unit
Public Sub Insert (index As Integer, format As DesignerAutoFormat)
Parameters
- index
- Int32
The zero-based index within the collection at which to insert format
.
- format
- DesignerAutoFormat
The DesignerAutoFormat to insert into the collection.
Exceptions
Remarks
The Insert method adds a DesignerAutoFormat object to the collection at a specific index location. To add a single DesignerAutoFormat to the end of the collection, use the Add method.
Note
When you insert an item into a collection, the index values change for subsequent items in the collection.