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
)
Public Function Rename (
oldKey As String,
newKey As String
) As Boolean
public:
virtual bool Rename(
[InAttribute] String^ oldKey,
[InAttribute] String^ newKey
) sealed
function Rename(oldKey, newKey);
Parameters
- oldKey
- Type: SystemString
The old key.
- newKey
- Type: SystemString
The new key.
Return Value
Type:
Boolean
True if successful.
See Also