TryGetValueDelegate Delegato
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Delegato per TryGetValue(TKey, TValue).
public delegate bool TryGetValueDelegate(System::Object ^ dictionary, System::String ^ key, [Runtime::InteropServices::Out] System::Object ^ % value);
C#
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
- dictionary
- Object
Oggetto IDictionary<TKey,TValue>.
- key
- String
Chiave.
- value
- Object
Il valore restituito.
Indica se la chiave è stata trovata.
Prodotto | Versioni |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |