This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IAnnotationExpressionEngine Interface > IAnnotationExpressionEngine.CreateFunction Method (ArcObjects .NET 10.5 SDK) |
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,
BSTR* Function
);
[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 Function [out, retval] Function is a parameter of type BSTR
The CreateFunction methods is used to convert a simple expression into an Advanced Expression.