ModelStateDictionary.TryGetValue(String, ModelStateEntry) Method

Definition

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

Parameters

key
String

Returns

Applies to