static FDO_API FdoFunctionDefinition* FdoFunctionDefinition::Create ( FdoString name,
FdoString description,
FdoDataType  returnType,
FdoArgumentDefinitionCollection arguments,
FdoFunctionCategoryType  functionCategoryType = FdoFunctionCategoryType_Unspecified 
) [static]

Constructs an instance of an FdoFunctionDefinition using the specified arguments.

Parameters:
name Input the name of the function.
description Input a brief description.
returnType Input the function return type
arguments Input the argument definition list
functionCategoryType Input the category the function belongs to. If not specified the function is categorized as unspecified. Valid values for this parameter are defined in the enumeration FdoFunctionCategoryType.
Returns:
Returns FdoFunctionDefinition