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


IAnnotationExpressionEngine.SetExpression Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotationExpressionEngine Interface > IAnnotationExpressionEngine.SetExpression Method
ArcGIS Developer Help

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
);
[C++]
Parameters
preCode [in]

preCode is a parameter of type BSTR Expression [in]
Expression is a parameter of type BSTR

Product Availability

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

See Also

IAnnotationExpressionEngine Interface