IDictionaryService.GetKey(Object) Method

Definition

Gets the key corresponding to the specified value.

public:
 System::Object ^ GetKey(System::Object ^ value);
public object GetKey (object value);
public object? GetKey (object? value);
abstract member GetKey : obj -> obj
Public Function GetKey (value As Object) As Object

Parameters

value
Object

The value to look up in the dictionary.

Returns

The associated key, or null if no key exists.

Applies to