共用方式為


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 中所包含的元素數。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用屬性 IsReadOnly 取得值,指出 ICollection 是否唯讀。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用屬性 Item 取得或設定具有指定機碼的項目。 (繼承自 IDictionary<String, Object>)。
公用屬性 Keys 取得 ICollection,包含 IDictionary 的索引鍵。 (繼承自 IDictionary<String, Object>)。
公用屬性 Values 取得 ICollection,包含 IDictionary 中的值。 (繼承自 IDictionary<String, Object>)。

回頁首

方法

  名稱 描述
公用方法 Add(UTP) 將項目加入至 ICollection。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 Add(UTP, UTP) 將具有提供索引鍵和值的元素加入至 IDictionary。 (繼承自 IDictionary<String, Object>)。
公用方法 Clear 將所有項目從 ICollection 移除。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 Contains 判斷 ICollection 是否包含特定值。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 ContainsKey 判斷 IDictionary 是否包含具有指定之索引鍵的項目。 (繼承自 IDictionary<String, Object>)。
公用方法 CopyTo(UTP, Int32) 從特定的 Array 索引開始,複製 ICollection 項目至 Array。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 CopyTo(array<KeyValuePair<String, Object>[], array<String[], Int32) 複製屬性的目前集合中指定的屬性設定為指定的 KeyValuePair 物件陣列。
公用方法 GetEnumerator 傳回逐一查看集合的列舉值。 (繼承自 IEnumerable<KeyValuePair<String, Object>>)。
公用方法 Remove(UTP) 將有指定索引鍵的元素從 IDictionary 移除。 (繼承自 IDictionary<String, Object>)。
公用方法 Remove(UTP) ICollection 移除特定物件的第一個相符項目。 (繼承自 ICollection<KeyValuePair<String, Object>>)。
公用方法 TryGetValue 取得與指定索引鍵關聯的值。 (繼承自 IDictionary<String, Object>)。

回頁首

備註

這個介面會實作為內建 DDEX 服務。

請參閱

參考

Microsoft.VisualStudio.Data.Services 命名空間