Share

Dictionary.AtPut(int, RXObject) Method

Description

Puts value into the dictionary at index id. This function returns a pointer to the Object that was at this index prior to this call. It returns NULL if the dictionary was set up to delete its entries.

Visual Basic

Public virtual Function AtPut(
    id As Integer, 
    value As RXObject
) As RXObject

C#

public virtual RXObject AtPut(
    int id, 
    RXObject value
);

Parameters

Parameters Description
int id Input dictionary entry ID at which to put value.
RXObject value Input object to add to the dictionary.

Notes

This function can ONLY be used to replace objects with existing IDs.

value must be non-NULL and id must be greater than 0.

Links

Dictionary Class, Autodesk.AutoCAD.Runtime Namespace

Was this information helpful?