共用方式為


TryGetValueDelegate 代理人

定義

public delegate bool TryGetValueDelegate(System::Object ^ dictionary, System::String ^ key, [Runtime::InteropServices::Out] System::Object ^ % value);
public delegate bool TryGetValueDelegate(object dictionary, string key, out object value);
type TryGetValueDelegate = delegate of obj * string * obj -> bool
Public Delegate Function TryGetValueDelegate(dictionary As Object, key As String, ByRef value As Object) As Boolean 

參數

key
String

索引鍵。

value
Object

傳回值。

傳回值

是否已找到金鑰。

適用於