Creates a Function object, compatible with the FUNCTION data type of a field.

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 7.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public Function(
	string name,
	string functionDefinition,
	CompleteDataType cdt
)
Public Sub New ( _
	name As String, _
	functionDefinition As String, _
	cdt As CompleteDataType _
)
public:
Function(
	String^ name, 
	String^ functionDefinition, 
	CompleteDataType^ cdt
)

Parameters

name
String
name of the function. This parameter is optional and may be left null, in which case the function will be anonymous. In cases where the function is recursive however, the name must be specified.
functionDefinition
String
string representation of the function, expressed as a StreamBase Expression Language string. This parameter is required.
cdt
CompleteDataType
CompleteDataType object describing the type of this function.

See Also