继承层次结构
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%) |
页首
显式接口实现
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。