SubMenuStyleCollection.RemoveAt(Int32) 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.
Removes the SubMenuStyle object at the specified location.
public:
void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
Parameters
- index
- Int32
The zero-based index location of the SubMenuStyle object to remove from the collection.
Exceptions
The SubMenuStyleCollection collection is read-only.
Remarks
The OnRemove method is called before the SubMenuStyle object is removed from the collection, and the OnRemoveComplete method is called after the object is removed from the SubMenuStyleCollection collection.