GetCustomData Method (ICustomData)

GetCustomData Method (ICustomData) | Send Feedback
See Also Example

Index
  Index of the custom data element

Data[out]
  Custom data

Gets the specified custom data element.

# Syntax

Visual Basic |
--- | ---
    Sub GetCustomData( _
       ByVal Index As System.Integer, _
       ByRef Data As CustomData _
    )

C# |
--- | ---
    void GetCustomData(
       System.int Index,
       out CustomData Data
    )

JavaScript |
--- | ---
    GetCustomData(
       Index : Number
    ) : dsCustomData

COM native C++ |
--- | ---
    HRESULT GetCustomData(
       LONG Index,
       ICustomData** Data
    )

C++ |
--- | ---
    DSRESULT GetCustomData(
       long Index,
       dsCustomData** Data
    )

#### Parameters

Index
  Index of the custom data element
Data[out] or Return Value
  Custom data

# 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::InsertCustomData Method

# Availability

DraftSight V1R1.2