GetDataType Method (IXRecord)

GetDataType Method (IXRecord) | Send Feedback
See Also Example

DataType[out]
  Data type as defined in dsCustomDataType_e

Index
  Index of the XRecord data element whose data type to get (see Remarks)

Gets the data type of the specified XRecord data element.

# Syntax

Visual Basic |
--- | ---
    Function GetDataType( _
       ByVal Index As System.Integer _
    ) As dsCustomDataType_e

C# |
--- | ---
    dsCustomDataType_e GetDataType(
       System.int Index
    )

JavaScript |
--- | ---
    GetDataType(
       Index : Number
    ) : String

COM native C++ |
--- | ---
    HRESULT GetDataType(
       LONG Index,
       dsCustomDataType_e* DataType
    )

C++ |
--- | ---
    DSRESULT GetDataType(
       long Index,
       dsCustomDataType_e* DataType
    )

#### Parameters

Index
  Index of the XRecord data element whose data type to get (see Remarks)
DataType[out] or Return Value
  Data type as defined in dsCustomDataType_e

# Example

Create and Remove Dictionaries (C#)
Create and Remove Dictionaries (VB.NET)
Create and Remove Dictionaries (VBA)

# Remarks

Data types correspond to custom data types.

Before calling this method, call IXRecord::GetDataCount to determine a valid value for Index.

# See Also

####

IXRecord Interface
IXRecord Members

# Availability

DraftSight V1R4.0