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


ILookupSymbol.LookupSymbol Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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,
  ISymbol** Symbol
);
[C++]

Parameters firstPass [in] firstPass is a parameter of type VARIANT_BOOL Feature [in]
Feature is a parameter of type IFeature Symbol [out, retval]
Symbol is a parameter of type ISymbol

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