ValidationContext.Items 属性

定义

获取与此上下文关联的键/值对的字典。

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)

属性值

此上下文的键/值对的字典。

注解

此属性从不 null为 ,但字典可以为空。 对此字典中的项所做的更改反映在构造函数中指定的原始字典中。

适用于