共用方式為


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 取得 ICollection<T>,包含 IDictionary<TKey, TValue> 的索引鍵。 (繼承自 IDictionary<String, Object>)。
公用屬性 Values 取得 ICollection<T>,包含 IDictionary<TKey, TValue> 中的值。 (繼承自 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 命名空間