This document is archived and information here might be outdated.  Recommended version.


ISymbologyStyleClass.GetItem Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyStyleClass Interface > ISymbologyStyleClass.GetItem Method
ArcGIS Developer Help

ISymbologyStyleClass.GetItem Method

Returns the item at the specified index in the SymbologyStyleClass.

[Visual Basic .NET]
Public Function GetItem ( _
    ByVal index As Integer _
) As IStyleGalleryItem
[C#]
public IStyleGalleryItem GetItem (
    int index
);
[C++]
HRESULT GetItem(
  long index
);
[C++]
Parameters
index [in]

index is a parameter of type long

Product Availability

Available with ArcGIS Engine.

Description

Returns the item at the specified index in the SymbologyStyleClass. Typically the item is a ServerStyleGalleryItem .

Errors Returned

1023 800a03ff: The specified index is out of range

See Also

ISymbologyStyleClass Interface

.NET Samples

Update a frame's background, border, and shadow using the SymbologyControl