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
Tuple..::SetFunction Method (String, Function)

Sets the value of a Function field, given its name.

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

# Syntax

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

    public virtual void SetFunction(
    	string sFieldName,
    	Function value
    )

    Public Overridable Sub SetFunction ( _
    	sFieldName As String, _
    	value As Function _
    )

    public:
    virtual void SetFunction(
    	String^ sFieldName,
    	Function^ value
    )

#### Parameters

sFieldName
  String

value
  Function

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB..::..TupleFieldTypingException | Field type does not match value type
StreamBase.SB..::..TupleBadFieldException |
StreamBase.SB..::..StreamBaseException |

# See Also

Tuple Class
SetFunction Overload
StreamBase.SB Namespace