Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | Members | See Also
StreamBase Client API
Function Class

Represents an instance of a StreamBase Function data type. While you cannot apply such a function in the .NET Client API you can access its body as a string.

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

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public class Function : ICloneable

    Public Class Function _
    	Implements ICloneable

    public ref class Function : ICloneable

# Members

| All Members |  |  | Constructors |  |  | Properties |  |  | Methods |

Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |

| Member | Description
--- | --- | ---
| Function(Function) | Creates a Function object based on the given one.
| Function(String, String, CompleteDataType) | Creates a Function object, compatible with the FUNCTION data type of a field.
| ArgumentSchema | Returns the schema describing the types of the arguments of this function.
| Body | Returns a string containing the StreamBase expression that represents the body of this function. For example: For this function "function (arg0 int, arg1) -> int { arg0 + arg1 }", Body returns "arg0 + arg1".
| CDT | Returns the bindings for variables in this function that are not inputs.
| Clone()()()() | Clones this Function
| Environment | Return the bindings for variables in this function that are not inputs.
| Equals(Object) | Returns true if this DataType is of the given type. (Overrides Object..::..Equals(Object).)
| FunctionDefinition | Returns a string containing the StreamBase expression that creates this function. For example: For this function "function (arg0 int, arg1) -> int { arg0 + arg1 }", FunctionDefinition returns "function (arg0 int, arg1) -> int { arg0 + arg1 }".
| GetHashCode()()()() | Hash function for this type. (Overrides Object..::..GetHashCode()()()().)
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.)
| InnerCDT | Returns the bindings for variables in this function that are not inputs.
| InputFieldTransformer | Returns the input field transformer.
| IsCoerced | Returns true of this function is coerced.
| Name | Return the function's name.
| OutputFieldTransformer | Returns the output field transformer.
| ReturnType | Returns the return type of this function.
| ToString()()()() | Returns a string representation of the data type. (Overrides Object..::..ToString()()()().)

# Inheritance Hierarchy

System..::..Object
StreamBase.SB..::..Function

# See Also

StreamBase.SB Namespace