DesignerRegionCollection.Insert(Int32, DesignerRegion) 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 DesignerRegion object into the collection at the specified index.
public:
void Insert(int index, System::Web::UI::Design::DesignerRegion ^ region);
public void Insert (int index, System.Web.UI.Design.DesignerRegion region);
member this.Insert : int * System.Web.UI.Design.DesignerRegion -> unit
Public Sub Insert (index As Integer, region As DesignerRegion)
Parameters
- index
- Int32
The zero-based index within the collection at which to insert the region.
- region
- DesignerRegion
The DesignerRegion to insert into the collection.
Exceptions
Remarks
The Insert method adds a DesignerRegion object to the collection at a specific index location. To add a single DesignerRegion to the end of the collection, use the Add method.
Note
When you insert an item into the collection, the indexes change for subsequent items in the collection.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈