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


IAnnotationExpressionEngine.CreateFunction 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.CreateFunction Method
ArcGIS Developer Help

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