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


ILabelCache.QueryClass Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILabelCache Interface > ILabelCache.QueryClass Method
ArcGIS Developer Help

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,
  System.Int32* classID,
  System.String* 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