Set the control index
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void SetControlIndex( int ControlIndex )
Public Sub SetControlIndex ( _ ControlIndex As Integer _ )
public: virtual void SetControlIndex( int ControlIndex ) sealed
Parameters
- ControlIndex (Int32)
- The control index
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the
indexes are less than 0. All indexes must be at least 0. |
DuplicateIndexesException | Thrown if the
indexes are the same. The control and target indexes must be
different. |