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.GetSelectedItem Method (ArcObjects .NET 10.5 SDK) |
Returns the selected item in the SymbologyStyleClass.
[Visual Basic .NET] Public Function GetSelectedItem ( _ ) As IStyleGalleryItem
[C#] public IStyleGalleryItem GetSelectedItem ( );
[C++]
HRESULT GetSelectedItem(
IStyleGalleryItem** StyleItem
);
[C++]
Parameters StyleItem [out, retval]
StyleItem is a parameter of type IStyleGalleryItem
Returns the selected item in the SymbologyStyleClass. If no item is selected Nothing is returned.
An item can be selected programmatically using the SelectItem method, or interactively by the end user clicking on an item in the SymbologyControl.