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

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

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
public int LookupLegendClass (
    IFeature Feature,
    ref int legendGroupIdx
HRESULT LookupLegendClass(
  IFeature* Feature,
  System.Int32* legendGroupIdx
Feature [in]

Feature is a parameter of type IFeature* legendGroupIdx [out]
legendGroupIdx is a parameter of type long*

Product Availability

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

See Also

ILookupLegendClass Interface