共用方式為


ValidationErrorCollection 成員

Contains a collection of ValidationError objects. This class cannot be inherited.

ValidationErrorCollection 型別公開下列成員。

建構函式

  名稱 描述
公用方法 ValidationErrorCollection Initializes a new instance of ValidationError.

頂端

方法

  名稱 描述
公用方法 Add(ValidationError) Adds a ValidationError to the end of the collection.
公用方法 Add(IModelComponent, String) Creates and adds a ValidationError, with the specified IModelComponent value and error description, to the end of the collection.
公用方法 Add(IModelComponent, String, ErrorPriority) Creates and adds a ValidationError, with the specified IModelComponent value, error description, and ErrorPriority value, to the end of the collection.
公用方法 Add(IModelComponent, String, Int32) Creates and adds a ValidationError, with the specified IModelComponent value, error description, and error code, to the end of the collection.
公用方法 Add(IModelComponent, String, ErrorPriority, Int32) Creates and adds a ValidationError, with the specified IModelComponent value, error description, ErrorPriority value, and error code, to the end of the collection.
公用方法 AddRange Adds the elements of a ICollection to the end of the collection.
公用方法 Clear Removes all elements from the collection.
公用方法 Contains Indicates whether the collection contains a specified ValidationError.
公用方法 CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 IndexOf Gets the index of a specified ValidationError.
公用方法 Insert Inserts a ValidationError into the collection at the specified index.
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Remove Removes the specified ValidationError from the collection.
公用方法 RemoveAt Removes the ValidationError at the specified index from the collection.
公用方法 ToString (繼承自 Object。)

頂端

屬性

  名稱 描述
公用屬性 Count Gets the number of ValidationError objects in the collection.
公用屬性 Item Gets the ValidationError at the specified index.

頂端