ValidationStateDictionary 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用於追蹤驗證狀態,以自訂模型物件的驗證行為。
public ref class ValidationStateDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IDictionary<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IReadOnlyDictionary<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>
public class ValidationStateDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IDictionary<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IReadOnlyDictionary<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>
type ValidationStateDictionary = class
interface IDictionary<obj, ValidationStateEntry>
interface ICollection<KeyValuePair<obj, ValidationStateEntry>>
interface seq<KeyValuePair<obj, ValidationStateEntry>>
interface IEnumerable
interface IReadOnlyDictionary<obj, ValidationStateEntry>
interface IReadOnlyCollection<KeyValuePair<obj, ValidationStateEntry>>
type ValidationStateDictionary = class
interface ICollection<KeyValuePair<obj, ValidationStateEntry>>
interface seq<KeyValuePair<obj, ValidationStateEntry>>
interface IEnumerable
interface IDictionary<obj, ValidationStateEntry>
interface IReadOnlyCollection<KeyValuePair<obj, ValidationStateEntry>>
interface IReadOnlyDictionary<obj, ValidationStateEntry>
Public Class ValidationStateDictionary
Implements ICollection(Of KeyValuePair(Of Object, ValidationStateEntry)), IDictionary(Of Object, ValidationStateEntry), IEnumerable(Of KeyValuePair(Of Object, ValidationStateEntry)), IReadOnlyCollection(Of KeyValuePair(Of Object, ValidationStateEntry)), IReadOnlyDictionary(Of Object, ValidationStateEntry)
- 繼承
-
ValidationStateDictionary
- 實作
-
ICollection<KeyValuePair<Object,ValidationStateEntry>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<Object,ValidationStateEntry> IEnumerable<KeyValuePair<Object,ValidationStateEntry>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IReadOnlyCollection<KeyValuePair<Object,ValidationStateEntry>> IReadOnlyCollection<KeyValuePair<TKey,TValue>> IReadOnlyDictionary<Object,ValidationStateEntry> IEnumerable
建構函式
ValidationStateDictionary() |
屬性
Count |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
IsReadOnly |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
Item[Object] |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
Keys |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
Values |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
方法
Add(KeyValuePair<Object,ValidationStateEntry>) |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
Add(Object, ValidationStateEntry) |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
Clear() |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
Contains(KeyValuePair<Object,ValidationStateEntry>) |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
ContainsKey(Object) |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
CopyTo(KeyValuePair<Object,ValidationStateEntry>[], Int32) |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
GetEnumerator() |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
Remove(KeyValuePair<Object,ValidationStateEntry>) |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
Remove(Object) |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
TryGetValue(Object, ValidationStateEntry) |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
明確介面實作
IDictionary<Object,ValidationStateEntry>.Item[Object] |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
IEnumerable.GetEnumerator() |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
IReadOnlyDictionary<Object,ValidationStateEntry>.Item[Object] |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
IReadOnlyDictionary<Object,ValidationStateEntry>.Keys |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |
IReadOnlyDictionary<Object,ValidationStateEntry>.Values |
用於追蹤驗證狀態,以自訂模型物件的驗證行為。 |