ValidationContext.ObjectInstance Property

Definition

Gets the object to validate.

public:
 property System::Object ^ ObjectInstance { System::Object ^ get(); };
public object ObjectInstance { get; }
member this.ObjectInstance : obj
Public ReadOnly Property ObjectInstance As Object

Property Value

The object to validate.

Remarks

During validation, especially during property-level validation, the object instance could be in an indeterminate state. When validation is performed without an owning object (for example, validating standalone values), it might be a placeholder, so don't treat it as the owner of the value.

Applies to