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


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

ILookupSymbol.LookupSymbol Method

Returns a reference to the renderer's symbol for the input feature.

[Visual Basic .NET]
Public Function LookupSymbol ( _
    ByVal firstPass As Boolean, _
    ByVal Feature As IFeature _
) As ISymbol
[C#]
public ISymbol LookupSymbol (
    bool firstPass,
    IFeature Feature
);
[C++]
HRESULT LookupSymbol(
  VARIANT_BOOL firstPass,
  IFeature* Feature
);
[C++]
Parameters
firstPass [in]

firstPass is a parameter of type bool Feature [in]
Feature is a parameter of type IFeature*

Product Availability

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

Remarks

This method hands out a reference to the symbol for a specific feature.  The firstPass parameter is passed in as True on the first call of this method.  This allows the renderer to internally cache the symbols for succesive calls.

See Also

ILookupSymbol Interface