ValidationContext.Items Property

Definition

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

public:
 property System::Collections::Generic::IDictionary<System::Object ^, System::Object ^> ^ Items { System::Collections::Generic::IDictionary<System::Object ^, System::Object ^> ^ get(); };
public System.Collections.Generic.IDictionary<object,object> Items { get; }
public System.Collections.Generic.IDictionary<object,object?> Items { get; }
member this.Items : System.Collections.Generic.IDictionary<obj, obj>
Public ReadOnly Property Items As IDictionary(Of Object, Object)

Property Value

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

Remarks

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.

Applies to