GetCustomPropertyAt Method (IDrawingProperties)

GetCustomPropertyAt Method (IDrawingProperties) | Send Feedback
See Also

Value[out]
  Value of the custom property

Index
  Index of the custom property (see Remarks)

Key[out]
  Name of the custom property

Gets the value and name of the custom property at the specified index.

# Syntax

Visual Basic |
--- | ---
    Function GetCustomPropertyAt( _
       ByVal Index As System.Integer, _
       ByRef Key As System.String _
    ) As System.String

C# |
--- | ---
    System.string GetCustomPropertyAt(
       System.int Index,
       out System.string Key
    )

JavaScript |
--- | ---
    GetCustomPropertyAt(
       Index : Number
    ) : {
       Key : String,
       Value : String
    }

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

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

#### Parameters

Index
  Index of the custom property (see Remarks)
Key[out]
  Name of the custom property
Value[out] or Return Value
  Value of the custom property

# Example

See the IDrawingProperties examples.

# Remarks

Before calling this method, call IDrawingProperties::GetCustomPropertyCount to get a valid value for Index.

# See Also

####

IDrawingProperties Interface
IDrawingProperties Members
IDrawingProperties::AddCustomProperty Method ()
IDrawingProperties::GetCustomProperty Method ()
IDrawingProperties::HasCustomProperty Method ()
IDrawingProperties::RemoveCustomProperty Method ()
IDrawingProperties::RemoveCustomPropertyAt Method ()
IDrawingProperties::SetCustomProperty Method ()
IDrawingProperties::SetCustomPropertyAt Method ()

# Availability

DraftSight V1R5.0