Sets the value of a string field.
The Schema.Field objects used to set and get Tuple field values must be obtained
via the Tuple's Schema object. A Schema.Field object that has been created by the
user or retrieved from a different Schema may not work.
Namespace: StreamBase.SBAssembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.6.0.0
Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetString( Schema..::..Field field, string value )
Public Overridable Sub SetString ( _ field As Schema..::..Field, _ value As String _ )
public: virtual void SetString( Schema..::..Field^ field, String^ value )
Exceptions
Exception | Condition |
---|---|
StreamBase.SB..::..NoSuchFieldException | |
StreamBase.SB..::..TupleStringLengthException | String is longer than field length |
StreamBase.SB..::..TupleFieldTypingException | Field type does not match value type |
StreamBase.SB..::..TupleBadFieldException | |
StreamBase.SB..::..StreamBaseException |