Share

Dictionary.ResetKey(int, string) Method

Description

Makes a copy of the newKey string and sets it to be the lookup key for the entry at index id.

id must be greater than 0 and newKey must not be NULL.

Visual Basic

Public virtual Function ResetKey(
    id As Integer, 
    newKey As string
) As void

C#

public virtual void ResetKey(
    int id, 
    string newKey
);

Parameters

Parameters Description
int id Input dictionary entry ID at which to put value.
string newKey Input new lookup key string to use.

Links

Dictionary Class, Autodesk.AutoCAD.Runtime Namespace

Was this information helpful?