Share via


IDictionaryService.GetKey(Object) 方法

定義

取得對應於指定值的索引鍵。

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

參數

value
Object

要在字典中查詢的值。

傳回

相關的索引鍵,或 null (如果沒有索引鍵)。

適用於