ArcObjects Library Reference (Carto)  

IAnnotationExpressionParser2.FindLabel Method

The label for a given feature based on the annotation expression.

[Visual Basic .NET]
Public Function FindLabel ( _
    ByVal Feature As IFeature, _
    ByVal pLayerFields As ILayerFields _
) As String
[C#]
public string FindLabel (
    IFeature Feature,
    ILayerFields pLayerFields
);
[C++]
HRESULT FindLabel(
  IFeature* Feature,
  ILayerFields* pLayerFields,
  BSTR* Label
);
[C++]

Parameters

Feature [in]

  Feature is a parameter of type IFeature

pLayerFields [in]

  pLayerFields is a parameter of type ILayerFields

Label [out, retval]   Label is a parameter of type BSTR

Product Availability

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

See Also

IAnnotationExpressionParser2 Interface