Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
Function Constructor (String, String, CompleteDataType)

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: 10.3.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

Function Class
Function Overload
StreamBase.SB Namespace