Please enable JavaScript to view this site.

Altova MapForce 2020 Professional Edition

The MapForce API > Object Reference > Interfaces > Document > Methods

CreateUserDefinedFunction

Scroll Home Prev Top Next More

Creates a user defined function in the current document.

 

Signature

CreateUserDefinedFunction(in strFunctionName:String, in strLibraryName:String, in strSyntax:String, in strDetails:String, in bInlinedUse:Boolean) -> Mapping

 

Parameters

Name

Type

Description

strFunctionName

String

The name of the function.

strLibraryName

String

The name of the library to which this function belongs.

strSyntax

String

A string that describes the syntax of this function (this is for information purpose only).

strDetails

String

A description of this function.

bInlinedUse

Boolean

Boolean flag that specifies if the function has inlined use.

 

Errors

Error code

Description

1200

The object is no longer valid.

1201

Invalid address for the return parameter was specified.

1208

Failed creating user-defined function.

1209

Changing the document not allowed. It is read-only.

© 2019 Altova GmbH