TryGetValueDelegate Delegat

Definicja

Pełnomocnik dla .TryGetValue(TKey, TValue)

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 

Parametry

dictionary
Object

Element IDictionary<TKey,TValue>.

key
String

Klucz.

value
Object

Wartość zwracana.

Wartość zwracana

Czy klucz został znaleziony.

Dotyczy