GetDataType Method (ICustomData) Send Feedback
See Also  Example
Index
Index of the custom data element
DataType[out]
Data type of specified custom data element as defined in dsCustomDataType_e
Gets the data type of the specified custom data element.

Syntax

Visual Basic 
Sub GetDataType( _
   ByVal Index As System.Integer, _
   ByRef DataType As dsCustomDataType_e _
) 
C# 
void GetDataType( 
   System.int Index,
   out dsCustomDataType_e DataType
)
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 custom data element
DataType[out] or Return Value
Data type of specified custom data element as defined in dsCustomDataType_e

Example

Remarks

Call ICustomData::GetDataCount before calling this method to determine a valid value for Index.
 

See Also

Availability

DraftSight V1R1.2