ArcObjects Library Reference (Controls)  

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,
  IStyleGalleryItem** StyleItem
);
[C++]

Parameters

index [in]   index is a parameter of type long StyleItem [out, retval]

  StyleItem is a parameter of type IStyleGalleryItem

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 (Code Files: FrameProperties)