Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValidationContext::Items Property

 

Gets the dictionary of key/value pairs that is associated with this context.

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

public:
property IDictionary<Object^, Object^>^ Items {
	IDictionary<Object^, Object^>^ get();
}

Property Value

Type: System.Collections.Generic::IDictionary<Object^, Object^>^

The dictionary of the key/value pairs for this context.

This property is never null, but the dictionary can be empty. Changes made to items in this dictionary are reflected in the original dictionary that is specified in the constructor.

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: