MenuItemStyleCollection.Insert(Int32, MenuItemStyle) 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 the specified MenuItemStyle object into the collection at the specified index location.
public:
void Insert(int index, System::Web::UI::WebControls::MenuItemStyle ^ style);
public void Insert (int index, System.Web.UI.WebControls.MenuItemStyle style);
member this.Insert : int * System.Web.UI.WebControls.MenuItemStyle -> unit
Public Sub Insert (index As Integer, style As MenuItemStyle)
Parameters
- index
- Int32
The zero-based index location at which to insert the MenuItemStyle.
- style
- MenuItemStyle
The MenuItemStyle to insert.
Remarks
Use the Insert method to insert the specified MenuItemStyle object into the collection at the specified zero-based index.
As an alternative, you can append a MenuItemStyle object to the end of the collection using the Add method.
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