IValidatableObject Interface

.NET Framework 4.6 and 4.5

Provides a way for an object to be invalidated.

Namespace:  System.ComponentModel.DataAnnotations
Assemblies:   System.ComponentModel.Annotations (in System.ComponentModel.Annotations.dll)
  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

public interface IValidatableObject

The IValidatableObject type exposes the following members.

  NameDescription
Public methodValidateDetermines whether the specified object is valid.
Top

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft