InsertHandle Method (ICustomData)

InsertHandle Method (ICustomData) | Send Feedback
See Also Example

Index
  Index where to insert the custom data

Handle
  Value of the handle

Inserts a handle at the specified index.

# Syntax

Visual Basic |
--- | ---
    Sub InsertHandle( _
       ByVal Index As System.Integer, _
       ByVal Handle As System.String _
    )

C# |
--- | ---
    void InsertHandle(
       System.int Index,
       System.string Handle
    )

JavaScript |
--- | ---
    InsertHandle(
       Index : Number,
       Handle : String
    )

COM native C++ |
--- | ---
    HRESULT InsertHandle(
       LONG Index,
       BSTR Handle
    )

C++ |
--- | ---
    DSRESULT InsertHandle(
       long Index,
       const dsString& Handle
    )

#### Parameters

Index
  Index where to insert the custom data
Handle
  Value of the handle

# Example

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

# Remarks

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

# See Also

####

ICustomData Interface
ICustomData Members
ICustomData::GetHandleData Method
ICustomData::SetHandle Method

# Availability

DraftSight V1R1.2