ModelValidator.Validate(Object) 메서드

정의

파생 클래스에서 구현될 때 개체의 유효성을 검사합니다.When implemented in a derived class, validates the object.

public:
 abstract System::Collections::Generic::IEnumerable<System::Web::ModelBinding::ModelValidationResult ^> ^ Validate(System::Object ^ container);
public abstract System.Collections.Generic.IEnumerable<System.Web.ModelBinding.ModelValidationResult> Validate (object container);
abstract member Validate : obj -> seq<System.Web.ModelBinding.ModelValidationResult>
Public MustOverride Function Validate (container As Object) As IEnumerable(Of ModelValidationResult)

매개 변수

container
Object

컨테이너입니다.The container.

반환

IEnumerable<ModelValidationResult>

유효성 검사 결과의 컬렉션입니다.A collection of validation results.

적용 대상