IAnnotationExpressionEngine.SetExpression Method (ArcObjects .NET 10.6 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
);
[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