Share

Dictionary.ResetKey(string, string) Method

Description

Makes a copy of the newKey string and sets it to be the lookup key for the entry that currently has the lookup key, oldKey.

oldKey and newKey must not be NULL.

Visual Basic

Public virtual Function ResetKey(
    oldKey As string, 
    newKey As string
) As void

C#

public virtual void ResetKey(
    string oldKey, 
    string newKey
);

Parameters

Parameters Description
string oldKey Input lookup key string to be found and changed.
string newKey Input new lookup key string to use.

Links

Dictionary Class, Autodesk.AutoCAD.Runtime Namespace

Was this information helpful?