IAnnotationDictionary 接口
表示可以与 SharePoint 工具对象模型中的某些对象相关联的自定义数据对象的字典。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Interface IAnnotationDictionary _
Inherits IDictionary(Of Object, Object), ICollection(Of KeyValuePair(Of Object, Object)), _
IEnumerable(Of KeyValuePair(Of Object, Object)), IEnumerable
public interface IAnnotationDictionary : IDictionary<Object, Object>,
ICollection<KeyValuePair<Object, Object>>, IEnumerable<KeyValuePair<Object, Object>>,
IEnumerable
IAnnotationDictionary 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Count | 获取 ICollection<T> 中包含的元素数。 (继承自 ICollection<KeyValuePair<Object, Object>>。) | |
IsReadOnly | 获取一个值,该值指示 ICollection<T> 是否为只读。 (继承自 ICollection<KeyValuePair<Object, Object>>。) | |
Item | 获取或设置具有指定键的元素。 (继承自 IDictionary<Object, Object>。) | |
Keys | 获取包含 IDictionary<TKey, TValue> 的键的 ICollection<T>。 (继承自 IDictionary<Object, Object>。) | |
Values | 获取包含 IDictionary<TKey, TValue> 中的值的 ICollection<T>。 (继承自 IDictionary<Object, Object>。) |
页首
方法
页首
备注
您可以将自定义数据添加到 SharePoint 工具对象模型中实现 IAnnotatedObject 接口的类型实例。 这些类型具有一个可返回 IAnnotationDictionary 对象的 Annotations 属性。 有关更多信息,请参见 将自定义数据与 SharePoint 工具扩展相关联。