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


ILookupLegendClass.LookupLegendClass Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILookupLegendClass.LookupLegendClass Method

Returns the legend group and the legend class indexes for the input feature.

[Visual Basic .NET]
Public Function LookupLegendClass ( _
    ByVal Feature As IFeature, _
    ByRef legendGroupIdx As Integer _
) As Integer
[C#]
public int LookupLegendClass (
    IFeature Feature,
    ref int legendGroupIdx
);
[C++]
HRESULT LookupLegendClass(
  IFeature* Feature,
  long* legendGroupIdx,
  long* legendClassIdx
);
[C++]

Parameters Feature [in]
Feature is a parameter of type IFeature legendGroupIdx [out] legendGroupIdx is a parameter of type long legendClassIdx [out, retval] legendClassIdx is a parameter of type long

Product Availability

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

See Also

ILookupLegendClass Interface