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


IAnnotationExpressionEngine.CreateFunction Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IAnnotationExpressionEngine.CreateFunction Method

Creates the specified function.

[Visual Basic .NET]
Public Function CreateFunction ( _
    ByVal Name As String, _
    ByVal parameters As String, _
    ByVal Expression As String _
) As String
[C#]
public string CreateFunction (
    string Name,
    string parameters,
    string Expression
);
[C++]
HRESULT CreateFunction(
  BSTR Name,
  BSTR parameters,
  BSTR Expression
);
[C++]

Parameters Name [in]
Name is a parameter of type BSTR parameters [in]
parameters 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.

Remarks

The CreateFunction methods is used to convert a simple expression into an Advanced Expression.

See Also

IAnnotationExpressionEngine Interface