Set the field with the given name to the given value. The value is parsed according to the field type.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public virtual void SetField(
	string sFieldName,
	Object value
)
Public Overridable Sub SetField ( _
	sFieldName As String, _
	value As Object _
)
public:
virtual void SetField(
	String^ sFieldName, 
	Object^ value
)

Parameters

sFieldName
String
value
Object

Exceptions

ExceptionCondition
StreamBase.SB..::..TupleStringLengthExceptionString is longer than field length
StreamBase.SB..::..TupleFieldTypingExceptionField type does not match value type
StreamBase.SB..::..TupleBadFieldException
StreamBase.SB..::..TupleExceptionThere was a conversion error or the field doesn't exist
StreamBase.SB..::..StreamBaseException

See Also