Delen via


PropertiesCollection Class

Inheritance Hierarchy

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

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
<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
[CollectionDataContractAttribute(Name = L"Properties", ItemName = L"Property", KeyName = L"Key", 
    ValueName = L"Value")]
public ref class PropertiesCollection sealed : IDictionary<String^, Object^>, 
    ICollection<KeyValuePair<String^, Object^>>, IEnumerable<KeyValuePair<String^, Object^>>, 
    IEnumerable, ICollection
[<Sealed>]
[<CollectionDataContractAttribute(Name = "Properties", ItemName = "Property", KeyName = "Key", 
    ValueName = "Value")>]
type PropertiesCollection =  
    class 
        interface IDictionary<string, Object>
        interface ICollection<KeyValuePair<string, Object>>
        interface IEnumerable<KeyValuePair<string, Object>>
        interface IEnumerable 
        interface ICollection 
    end
public final class PropertiesCollection implements IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable, ICollection

The PropertiesCollection type exposes the following members.

Constructors

  Name Description
Public method PropertiesCollection()
Public method PropertiesCollection(IDictionary<String, Object>)

Top

Properties

  Name Description
Public property Count
Public property Item
Public property Keys
Public property Values

Top

Methods

  Name Description
Public method Add
Public method Clear
Public method ContainsKey
Public method ContainsValue
Public method Equals (Overrides Object.Equals(Object).)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue<T>
Public method Remove
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetValue(String, Object%)
Public method TryGetValue<T>(String, T%)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, Object>>.Add
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, Object>>.Contains
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, Object>>.CopyTo
Explicit interface implemetationPrivate method ICollection.CopyTo
Explicit interface implemetationPrivate method IEnumerable<KeyValuePair<String, Object>>.GetEnumerator
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator
Explicit interface implemetationPrivate property ICollection<KeyValuePair<String, Object>>.IsReadOnly
Explicit interface implemetationPrivate property ICollection.IsSynchronized
Explicit interface implemetationPrivate property IDictionary<String, Object>.Keys
Explicit interface implemetationPrivate method ICollection<KeyValuePair<String, Object>>.Remove
Explicit interface implemetationPrivate property ICollection.SyncRoot
Explicit interface implemetationPrivate property IDictionary<String, Object>.Values

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Services.WebApi Namespace