Axapta.CreateAxaptaObject Method
The CreateAxaptaObject method creates an AxaptaObject object.
Any parameter used to create the Axapta object must be one of the following data types. The variant type is shown for informational purposes.
Managed Type |
Variant Type |
VT_AX_BUFFER |
|
VT_AX_CONTAINER |
|
AxaptaObject |
VT_AX_CLASS |
VT_AX_RECORD |
|
VariantWrapper |
VT_VARIANT |
Boolean |
VT_BOOL |
Byte |
VT_UI1 |
DateTime |
VT_DATE |
Decimal |
VT_DECIMAL |
Double |
VT_R8 |
Int16 |
VT_I2 |
Int32 |
VT_I4 |
CurrencyWrapper |
VT_CY |
DispatchWrapper |
VT_DISPATCH |
ErrorWrapper |
VT_ERROR |
UnknownWrapper |
VT_UNKNOWN |
SByte |
VT_I1 |
Single |
VT_R4 |
String |
VT_BSTR |
UInt16 |
VT_UI2 |
UInt32 |
VT_UI4 |
Array can consist of any of the types listed above except for AxaptaBuffer, AxaptaContainer, AxaptaObject, and AxaptaRecord.
Use the VariantWrapper class to handle cases where this method requires a ComVariant parameter; the ComVariant type is a wrapper around a VARIANT object. The VariantWrapper class wraps all of the types above except for AxaptaBuffer, AxaptaContainer, AxaptaObject, and AxaptaRecord.
When the called method returns an object, the object will be one of the following managed data types. The variant type is shown for informational purposes.
Managed Type |
Variant Type |
AxaptaObject |
VT_AX_CLASS |
AxaptaRecord |
VT_AX_RECORD |
AxaptaContainer |
VT_AX_CONTAINER |
Array |
VT_ARRAY |
Boolean |
VT_BOOL |
DateTime |
VT_DATE |
Decimal |
VT_R8 |
Int32 |
VT_I4 |
String |
VT_BSTR |
Overload List
| Name | Description |
|---|---|
| Axapta.CreateAxaptaObject (String) |
The CreateAxaptaObject method creates an AxaptaObject object.
|
| Axapta.CreateAxaptaObject (String, Object) |
The CreateAxaptaObject method creates an AxaptaObject object.
|
| Axapta.CreateAxaptaObject (String, Object[]) |
The CreateAxaptaObject method creates an AxaptaObject object.
|
| Axapta.CreateAxaptaObject (String, Object, Object) |
The CreateAxaptaObject method creates an AxaptaObject object.
|
| Axapta.CreateAxaptaObject (String, Object, Object, Object) |
The CreateAxaptaObject method creates an AxaptaObject object.
|
See Also
Reference
Axapta Class
Axapta Members
Microsoft.Dynamics.BusinessConnectorNet Namespace