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%) |
回頁首
明確介面實作
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。