Gets or sets the index of the command, which determines the position of the command within the collection.Gets or sets the index of the command which determines the position of the command within the collection.
| Visual Basic (Declaration) | |
|---|---|
Public Property Index As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int Index {get; set;} | |
Return Value
The index of the command in the CommandCollection.The index of the command into parent CommandCollection
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family