Sdílet prostřednictvím


ModelStateDictionary.TryGetValue(String, ModelStateEntry) Metoda

Definice

System.Object.TryGetValue(System.String,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry@)
public:
 virtual bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateEntry ^ % value);
public bool TryGetValue (string key, out Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry value);
public bool TryGetValue (string key, out Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry? value);
abstract member TryGetValue : string * ModelStateEntry -> bool
override this.TryGetValue : string * ModelStateEntry -> bool
Public Function TryGetValue (key As String, ByRef value As ModelStateEntry) As Boolean

Parametry

key
String

Návraty

Platí pro