AxaptaRecord Class

The AxaptaRecord class provides functionality for reading and modifying Axapta records.

Namespace:  Microsoft.Dynamics.BusinessConnectorNet
Assembly:  Microsoft.Dynamics.BusinessConnectorNet (in Microsoft.Dynamics.BusinessConnectorNet.dll)

Syntax

'Declaration
Public Class AxaptaRecord _
    Implements IDisposable
'Usage
Dim instance As AxaptaRecord
public class AxaptaRecord : IDisposable
public ref class AxaptaRecord : IDisposable

Remarks

Any parameter passed to the called method must be one of the following data types. The variant type is shown for informational purposes.

Managed Type

Variant Type

AxaptaBuffer

VT_AX_BUFFER

AxaptaContainer

VT_AX_CONTAINER

AxaptaObject

VT_AX_CLASS

AxaptaRecord

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

Note

If the called method specifies a parameter that has a type that is not listed in the table, a ArgumentException exception will be raised.

Array can consist of any of the types previously listed 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 previous types 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

Note

If the called method returns a type that is not in the previous table, a NotSupportedException exception will be raised.

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.BusinessConnectorNet.AxaptaRecord

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Dynamics.BusinessConnectorNet Namespace