編輯

共用方式為


ValidatableObjectAdapter.Validate(Object) Method

Definition

Validates the specified object.

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

Parameters

container
Object

The container for the object to be validated.

Returns

The validation results.

Applies to