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


ILabelCache.QueryClass Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILabelCache.QueryClass Method

Retrieve a class from the label cache.

[Visual Basic .NET]
Public Sub QueryClass ( _
    ByVal Index As Integer, _
    ByRef classID As Integer, _
    ByRef ClassName As String, _
    ByRef FeatureLayer As IFeatureLayer, _
    ByRef TextSymbol As ITextSymbol _
)
[C#]
public void QueryClass (
    int Index,
    ref int classID,
    ref string ClassName,
    ref IFeatureLayer FeatureLayer,
    ref ITextSymbol TextSymbol
);
[C++]
HRESULT QueryClass(
  long Index,
  long* classID,
  BSTR* ClassName,
  IFeatureLayer** FeatureLayer,
  ITextSymbol** TextSymbol
);
[C++]

Parameters Index [in] Index is a parameter of type long classID [out] classID is a parameter of type long ClassName [out] ClassName is a parameter of type BSTR FeatureLayer [out]
FeatureLayer is a parameter of type IFeatureLayer TextSymbol [out]
TextSymbol is a parameter of type ITextSymbol

Product Availability

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

See Also

ILabelCache Interface