Share via


PropertiesCollection 類別

繼承階層架構

System.Object
  Microsoft.VisualStudio.Services.WebApi.PropertiesCollection

命名空間:  Microsoft.VisualStudio.Services.WebApi
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
<CollectionDataContractAttribute(Name := "Properties", ItemName := "Property", KeyName := "Key",  _
    ValueName := "Value")> _
Public NotInheritable Class PropertiesCollection _
    Implements IDictionary(Of String, Object),  _
    ICollection(Of KeyValuePair(Of String, Object)), IEnumerable(Of KeyValuePair(Of String, Object)),  _
    IEnumerable, ICollection
[CollectionDataContractAttribute(Name = "Properties", ItemName = "Property", KeyName = "Key", 
    ValueName = "Value")]
public sealed class PropertiesCollection : IDictionary<string, Object>, 
    ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, 
    IEnumerable, ICollection

PropertiesCollection 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 PropertiesCollection()
公用方法 PropertiesCollection(IDictionary<String, Object>)

回頁首

屬性

  名稱 描述
公用屬性 Count
公用屬性 Item
公用屬性 Keys
公用屬性 Values

回頁首

方法

  名稱 描述
公用方法 Add
公用方法 Clear
公用方法 ContainsKey
公用方法 ContainsValue
公用方法 Equals (覆寫 Object.Equals(Object)。)
公用方法 GetHashCode (覆寫 Object.GetHashCode()。)
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 GetValue<T>
公用方法 Remove
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。
公用方法 TryGetValue(String, Object%)
公用方法 TryGetValue<T>(String, T%)

回頁首

明確介面實作

  名稱 描述
明確介面實作私用方法 ICollection<KeyValuePair<String, Object>>.Add
明確介面實作私用方法 ICollection<KeyValuePair<String, Object>>.Contains
明確介面實作私用方法 ICollection<KeyValuePair<String, Object>>.CopyTo
明確介面實作私用方法 ICollection.CopyTo
明確介面實作私用方法 IEnumerable<KeyValuePair<String, Object>>.GetEnumerator
明確介面實作私用方法 IEnumerable.GetEnumerator
明確介面實作私用屬性 ICollection<KeyValuePair<String, Object>>.IsReadOnly
明確介面實作私用屬性 ICollection.IsSynchronized
明確介面實作私用屬性 IDictionary<String, Object>.Keys
明確介面實作私用方法 ICollection<KeyValuePair<String, Object>>.Remove
明確介面實作私用屬性 ICollection.SyncRoot
明確介面實作私用屬性 IDictionary<String, Object>.Values

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Services.WebApi 命名空間