Sets the object's data variables based on the value of the bstrDataSource parameters. If the method encounters an error (such as bad syntax), a corresponding error code is stored in a member variable of the object for later checking.
If the data source is FIX32 it reads electronic signature fields from the tag, and sets the associated variables in the object with the data that was read from the tag. If an error occurs reading the settings from the tag, a corresponding error code is stored in a member variable of the object for later checking.
Syntax
object.Initialize(bstrDataSource)
Properties
The Initialize method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrDataSource |
String. The fully qualified name of the data source. For example, FIX32.NODE1.do1.F_CV or, section.node.tag.field format for FIX32 data sources. |
Return Value
This method returns an HRESULT, indicating the success or failure of the method call: S_OK for a success or an error code for a failure.