TemplateGroupCollection.Insert(Int32, TemplateGroup) 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 TemplateGroup object into the collection at the specified index.
public:
void Insert(int index, System::Web::UI::Design::TemplateGroup ^ group);
public void Insert (int index, System.Web.UI.Design.TemplateGroup group);
member this.Insert : int * System.Web.UI.Design.TemplateGroup -> unit
Public Sub Insert (index As Integer, group As TemplateGroup)
Parameters
- index
- Int32
The zero-based index within the collection at which to insert group
.
- group
- TemplateGroup
The TemplateGroup to insert into the collection.
Exceptions
Remarks
The Insert method adds a TemplateGroup object to the collection at a specific index location. To add a single TemplateGroup to the end of the collection, use the Add method. To add multiple groups to the collection, use the AddRange method.
Note
When you insert an item into the collection, the indexes change for subsequent items in the collection.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin