GetInteger16Data Method (ICustomData)

GetInteger16Data Method (ICustomData) | Send Feedback
See Also Example

Index
  Index of the custom data element

Value[out]
  Int16 value

Gets the specified custom data element whose data type is a 16-bit signed integer, also called Int16.

# Syntax

Visual Basic |
--- | ---
    Sub GetInteger16Data( _
       ByVal Index As System.Integer, _
       ByRef Value As System.Integer _
    )

C# |
--- | ---
    void GetInteger16Data(
       System.int Index,
       out System.int Value
    )

JavaScript |
--- | ---
    GetInteger16Data(
       Index : Number
    ) : Number

COM native C++ |
--- | ---
    HRESULT GetInteger16Data(
       LONG Index,
       LONG* Value
    )

C++ |
--- | ---
    DSRESULT GetInteger16Data(
       long Index,
       long* Value
    )

#### Parameters

Index
  Index of the custom data element
Value[out] or Return Value
  Int16 value

# Example

Add, Modify, and Remove Custom Data (C#)
Add, Modify, and Remove Custom Data (VB.NET)
Add, Modify, and Remove Custom Data (VBA)
Add and Modify Custom Data (JavaScript)

# Remarks

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

# See Also

####

ICustomData Interface
ICustomData Members
ICustomData::SetInteger16Data Method
ICustomData::InsertInteger16Data Method

# Availability

DraftSight V1R1.2