RFA .NET
Assembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1
CopyC#
Encodes a pre-encoded data input.
Namespace: ThomsonReuters.RFA.DataAssembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1
Syntax
C# |
---|
public void SetData( Data value ) |
Visual Basic |
---|
Public Sub SetData ( _ value As Data _ ) |
Visual C++ |
---|
public: void SetData( Data^ value ) |
F# |
---|
member SetData : value:Data -> unit |
Parameters
- value
- Type: ThomsonReuters.RFA.Common..::..Data
The pre-encoded data input, valid data type for input data is FieldList, ElementList, Map, Vector, Series, FilterList, Array and DataBuffer which belongs to DataEnum. If data type is FieldList or ElementList, the input could be standard data, or defined data. This kind of encoding is well suited for hybrid applications or for applications that need to encode the same data repeatedly.
Remarks

example 1: iter.Initialize(data, 160000); iter.SetData(value); //pre-encoded value of FieldList type example 2: iter.StartSummaryData(); iter.SetData(value); //pre-encoded value of FieldList type iter.Complete(); example 3: iter.Start(vector); iter.Bind(vectorEntry); iter.SetData(value); //pre-encoded value of FieldList type iter.Complete(); example 4: iter.Start(fieldList); iter.Bind(fieldEntry); iter.SetData(value); //pre-encoded standard data, value of DataBuffer which contains pre-encoded data of primitive type iter.Bind(fieldEntry); iter.SetReal(); ... //more field entry iter.Complete(); example 5: iter.Start(fieldList); iter.SetData(value); //pre-encoded defined data, value of DataBuffer which contains pre-encoded data of primitive type iter.SetUInt(); //more field entry iter.Complete();
Exceptions
Exception | Condition |
---|---|
ThomsonReuters.RFA.Common..::..InvalidUsageException | Invalid Usage. |