InsertLayerName Method (ICustomData)

InsertLayerName Method (ICustomData) | Send Feedback
See Also Example

Index
  Index where to insert custom data

Value

  Name of a Layer

Inserts the name of a Layer at the specified index.

# Syntax

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

C# |
--- | ---
    void InsertLayerName(
       System.int Index,
       System.string Value
    )

JavaScript |
--- | ---
    InsertLayerName(
       Index : Number,
       Value : String
    )

COM native C++ |
--- | ---
    HRESULT InsertLayerName(
       LONG Index,
       BSTR Value
    )

C++ |
--- | ---
    DSRESULT InsertLayerName(
       long Index,
       const dsString& Value
    )

#### Parameters

Index
  Index where to insert custom data
Value

  Name of a Layer

# 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::GetLayerName Method
ICustomData::SetLayerName Method

# Availability

DraftSight V1R1.2