Share via


TagHelperContext.Items 属性

定义

获取用于与其他 ITagHelper通信的项的集合。

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; }
member this.Items : System.Collections.Generic.IDictionary<obj, obj>
Public ReadOnly Property Items As IDictionary(Of Object, Object)

属性值

注解

这是 IDictionary<TKey,TValue> 写入时复制,以确保添加到此集合的项仅对面向子元素的其他 ITagHelper项可见。

适用于