Replace the key of a given element.
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function ReplaceKey( _ ByVal oldKey As Object, _ ByVal newKey As Object _ ) As Boolean |
| C# |
|---|
| public bool ReplaceKey( object oldKey, object newKey ) |
| C++ |
|---|
| public: bool ReplaceKey( Object oldKey, Object newKey ) sealed |
| J# |
|---|
| public bool ReplaceKey( object oldKey, object newKey ) |
| JScript |
|---|
| public
function ReplaceKey( oldKey : Object, newKey : Object ) : bool |
Parameters
- oldKey
- The previous key. This key must be present in the hash.
- newKey
- The new key. This key must not be present in the hash.
Return Value
if the replacement was successful.