共用方式為


Add 方法

Adds a ValidationError to the collection.

多載清單 

  名稱 描述
公用方法 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.

頂端