This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyStyleClass Interface > ISymbologyStyleClass.SelectItem Method (ArcObjects .NET 10.5 SDK) |
Sets the selected item in the SymbologyStyleClass.
[Visual Basic .NET] Public Sub SelectItem ( _ ByVal index As Integer _ )
[C#] public void SelectItem ( int index );
[C++]
HRESULT SelectItem(
long index
);
[C++]
Parameters index [in] index is a parameter of type long
Selects the item at the specified index in the SymbologyStyleClass. An item can also be selected interactively by the end user clicking on an item in the SymbologyControl.
Selecting an item triggers the OnItemSelected event.
1023 800a03ff: The specified index is out of range