IVsDataObjectPropertyDictionary 接口

表示数据对象的属性。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Public Interface IVsDataObjectPropertyDictionary _
    Inherits IDictionary(Of String, Object), ICollection(Of KeyValuePair(Of String, Object)),  _
    IEnumerable(Of KeyValuePair(Of String, Object)), IEnumerable
public interface IVsDataObjectPropertyDictionary : IDictionary<string, Object>, 
    ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, 
    IEnumerable
public interface class IVsDataObjectPropertyDictionary : IDictionary<String^, Object^>, 
    ICollection<KeyValuePair<String^, Object^>>, IEnumerable<KeyValuePair<String^, Object^>>, 
    IEnumerable
type IVsDataObjectPropertyDictionary =  
    interface
        interface IDictionary<string, Object>
        interface ICollection<KeyValuePair<string, Object>>
        interface IEnumerable<KeyValuePair<string, Object>>
        interface IEnumerable
    end
public interface IVsDataObjectPropertyDictionary extends IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable

IVsDataObjectPropertyDictionary 类型公开以下成员。

属性

  名称 说明
公共属性 Count 获取 ICollection<T> 中包含的元素数。 (继承自 ICollection<KeyValuePair<String, Object>>。)
公共属性 IsReadOnly 获取一个值,该值指示 ICollection<T> 是否为只读。 (继承自 ICollection<KeyValuePair<String, Object>>。)
公共属性 Item 获取或设置具有指定键的元素。 (继承自 IDictionary<String, Object>。)
公共属性 Keys 获取包含 IDictionary<TKey, TValue> 的键的 ICollection<T>。 (继承自 IDictionary<String, Object>。)
公共属性 Values 获取包含 IDictionary<TKey, TValue> 中的值的 ICollection<T>。 (继承自 IDictionary<String, Object>。)

页首

方法

  名称 说明
公共方法 Add(T) 将某项添加到 ICollection<T> 中。 (继承自 ICollection<KeyValuePair<String, Object>>。)
公共方法 Add(TKey, TValue) IDictionary<TKey, TValue> 中添加一个带有所提供的键和值的元素。 (继承自 IDictionary<String, Object>。)
公共方法 Clear ICollection<T> 中移除所有项。 (继承自 ICollection<KeyValuePair<String, Object>>。)
公共方法 Contains 确定 ICollection<T> 是否包含特定值。 (继承自 ICollection<KeyValuePair<String, Object>>。)
公共方法 ContainsKey 确定 IDictionary<TKey, TValue> 是否包含具有指定键的元素。 (继承自 IDictionary<String, Object>。)
公共方法 CopyTo(array<T[], Int32) 从特定的 Array 索引开始,将 ICollection<T> 的元素复制到一个 Array 中。 (继承自 ICollection<KeyValuePair<String, Object>>。)
公共方法 CopyTo(array<KeyValuePair<String, Object>[], array<String[], Int32) 将属性的当前集合中指定的属性设置为指定的一些 KeyValuePair<String, Object> 对象。
公共方法 GetEnumerator() 返回一个循环访问集合的枚举器。 (继承自 IEnumerable<KeyValuePair<String, Object>>。)
公共方法 GetEnumerator() 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。)
公共方法 Remove(TKey) IDictionary<TKey, TValue> 中移除带有指定键的元素。 (继承自 IDictionary<String, Object>。)
公共方法 Remove(T) ICollection<T> 中移除特定对象的第一个匹配项。 (继承自 ICollection<KeyValuePair<String, Object>>。)
公共方法 TryGetValue 获取与指定的键相关联的值。 (继承自 IDictionary<String, Object>。)

页首

备注

此接口实现为内置DDEX服务。

请参见

参考

Microsoft.VisualStudio.Data.Services 命名空间