static FDO_API FdoFunctionDefinition* FdoFunctionDefinition::Create ( FdoString name,
FdoString description,
FdoPropertyType  returnPropertyType,
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.
returnPropertyType Input the function return property type
returnType Input the function return data type (ignore it property type is not data)
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