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


IStyleGallery.Class Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

IStyleGallery.Class Property

The class at the given index.

[Visual Basic .NET]
Public Function get_Class ( _
    ByVal index As Integer _
) As IStyleGalleryClass
[C#]
public IStyleGalleryClass get_Class (
    int index
);
[C++]
HRESULT get_Class(
  long index,
  IStyleGalleryClass** styleClass
);
[C++]

Parameters index [in]
index is a parameter of type long styleClass [out, retval]
styleClass is a parameter of type IStyleGalleryClass**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the Class at the given index. Class is the item category within the Style file (e.g. "Colors" and "Marker Symbols").

See Also

IStyleGallery Interface

.NET Samples

Custom Root Object (Style Gallery) (Code Files: clsGxStyleGallery)

.NET Related Topics

DisplayUI