Set the field at the given index to the given value. The value is parsed according to the field type.
Namespace: StreamBase.SBAssembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 11.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetField( int nFieldIndex, Object value )
Public Overridable Sub SetField ( _ nFieldIndex As Integer, _ value As Object _ )
public: virtual void SetField( int nFieldIndex, Object^ value )
Parameters
- nFieldIndex
- Int32
- value
- Object
Exceptions
Exception | Condition |
---|---|
StreamBase.SB..::..TupleStringLengthException | String is longer than field length |
StreamBase.SB..::..TupleFieldTypingException | Field type does not match value type |
StreamBase.SB..::..TupleBadFieldException | |
StreamBase.SB..::..TupleException | There was a conversion error or the field doesn't exist |
StreamBase.SB..::..StreamBaseException |