ModelStateDictionary.TryGetValue(String, ModelStateEntry) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
參數
- key
- String
- value
- ModelStateEntry