Click or drag to resize

ObjRename Method

Change the key value of a dictionary entry. The key can't be renamed if another key with the same name already exists in the dictionary. In this case, Rename returns false.

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool Rename(
	string oldKey,
	string newKey
)

Parameters

oldKey
Type: SystemString
The old key.
newKey
Type: SystemString
The new key.

Return Value

Type: Boolean
True if successful.
See Also