ValidationContext Constructor (Object^)
.NET Framework (current version)
Initializes a new instance of the ValidationContext class using the specified object instance
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
Parameters
- instance
-
Type:
System::Object^
The object instance to validate. It cannot be null.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Show: