PropertiesCollection, classe
Hiérarchie d'héritage
System.Object
Microsoft.VisualStudio.Services.WebApi.PropertiesCollection
Espace de noms : Microsoft.VisualStudio.Services.WebApi
Assembly : Microsoft.VisualStudio.Services.WebApi (dans Microsoft.VisualStudio.Services.WebApi.dll)
Syntaxe
'Déclaration
<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
Le type PropertiesCollection expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
PropertiesCollection() | |
![]() |
PropertiesCollection(IDictionary<String, Object>) |
Début
Propriétés
Nom | Description | |
---|---|---|
![]() |
Count | |
![]() |
Item | |
![]() |
Keys | |
![]() |
Values |
Début
Méthodes
Nom | Description | |
---|---|---|
![]() |
Add | |
![]() |
Clear | |
![]() |
ContainsKey | |
![]() |
ContainsValue | |
![]() |
Equals | (Substitue Object.Equals(Object).) |
![]() |
GetHashCode | (Substitue Object.GetHashCode().) |
![]() |
GetType | Obtient le Type de l'instance actuelle. (Hérité de Object.) |
![]() |
GetValue<T> | |
![]() |
Remove | |
![]() |
ToString | Retourne une chaîne qui représente l'objet actif. (Hérité de Object.) |
![]() |
TryGetValue(String, Object%) | |
![]() |
TryGetValue<T>(String, T%) |
Début
Implémentations d'interface explicite
Début
Sécurité des threads
Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.