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


IAnnotationExpressionEngine.SetExpression Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IAnnotationExpressionEngine.SetExpression Method

The expression to base labels on.

[Visual Basic .NET]
Public Function SetExpression ( _
    ByVal preCode As String, _
    ByVal Expression As String _
) As IAnnotationExpressionParser
[C#]
public IAnnotationExpressionParser SetExpression (
    string preCode,
    string Expression
);
[C++]
HRESULT SetExpression(
  BSTR preCode,
  BSTR Expression,
  IAnnotationExpressionParser** ExpressionParser
);
[C++]

Parameters preCode [in] preCode is a parameter of type BSTR Expression [in] Expression is a parameter of type BSTR ExpressionParser [out, retval]
ExpressionParser is a parameter of type IAnnotationExpressionParser

Product Availability

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

See Also

IAnnotationExpressionEngine Interface