Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ValidationContext.Items Property

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the collection of values associated with the validation request.

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

public IDictionary<Object, Object> Items { get; }

Property Value

Type: System.Collections.Generic.IDictionary<Object, Object>
The collection of values associated with the validation request

The Items collection may be empty but it will not be null.

Show:
© 2015 Microsoft