GetLayerName Method (ICustomData)

GetLayerName Method (ICustomData) | Send Feedback
See Also Example

Index
  Index of the custom data element

Value[out]
  Name of a Layer

Gets the specified custom data element whose value is the name of a Layer.

# Syntax

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

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

JavaScript |
--- | ---
    GetLayerName(
       Index : Number
    ) : String

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

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

#### Parameters

Index
  Index of the custom data element
Value[out] or Return 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::SetLayerName Method
ICustomData::InsertLayerName Method

# Availability

DraftSight V1R1.2