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,
  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

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