This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILookupSymbol Interface > ILookupSymbol.LookupSymbol Method (ArcObjects .NET 10.5 SDK) |
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
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.