public void RemoveAt (
public function RemoveAt (
index : int
The zero-based index location of the SubMenuStyle object to remove from the collection.
The SubMenuStyleCollection collection is read-only.
index is less than zero.
- or -
index is equal to or greater than Count.
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.
Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition