ModelBinderDictionary.TryGetValue(Type, IModelBinder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value that is associated with the specified key.
public:
virtual bool TryGetValue(Type ^ key, [Runtime::InteropServices::Out] System::Web::ModelBinding::IModelBinder ^ % value);
public bool TryGetValue (Type key, out System.Web.ModelBinding.IModelBinder value);
abstract member TryGetValue : Type * IModelBinder -> bool
override this.TryGetValue : Type * IModelBinder -> bool
Public Function TryGetValue (key As Type, ByRef value As IModelBinder) As Boolean
Parameters
- key
- Type
The key of the value to get.
- value
- IModelBinder
When this method returns, the value that is associated with the specified key, if the key is found; otherwise, the default value for the type of the value
parameter. This parameter is passed uninitialized.
Returns
true
if the dictionary contains an element that has the specified key; otherwise, false
.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για