• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Dictionary.Key()

JScript3.0+Syntax

							dictionaryobj.Key(key) = newKey
						

Description

The Key() property of the Dictionary object provides the ability to change an existing key in the dictionary. To change a key simply specify the key of the item you want changed followed by an equal sign and the newKey. If the key does not exist in the dictionary, a new key, item pair will be created in the dictionary using newKey and leaving the item empty. In either case, the new key is returned by the method.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint