ValidationContext::ObjectInstance Property

 

Gets the object to validate.

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

public:
property Object^ ObjectInstance {
	Object^ get();
}

Property Value

Type: System::Object^

The object to validate.

During validation, especially during property-level validation, the object instance could be in an indeterminate state.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Return to top
Show: