MetadataDictionary Class

Inheritance Hierarchy

System.Object
System.Collections.Generic.Dictionary<String, String>
Microsoft.TeamFoundation.Deployment.Workflow.Activities.MetadataDictionary

Namespace: Microsoft.TeamFoundation.Deployment.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)

Syntax

'Declaration
<CollectionDataContractAttribute(Name := "Metadata", ItemName := "NameValuePair",  _
    KeyName := "Name", ValueName := "Value", Namespace := "http://schemas.microsoft.com/windowsazure")> _
Public NotInheritable Class MetadataDictionary _
    Inherits Dictionary(Of String, String)
[CollectionDataContractAttribute(Name = "Metadata", ItemName = "NameValuePair", KeyName = "Name", 
    ValueName = "Value", Namespace = "http://schemas.microsoft.com/windowsazure")]
public sealed class MetadataDictionary : Dictionary<string, string>
[CollectionDataContractAttribute(Name = L"Metadata", ItemName = L"NameValuePair", 
    KeyName = L"Name", ValueName = L"Value", Namespace = L"http://schemas.microsoft.com/windowsazure")]
public ref class MetadataDictionary sealed : public Dictionary<String^, String^>
[<Sealed>]
[<CollectionDataContractAttribute(Name = "Metadata", ItemName = "NameValuePair", KeyName = "Name", 
    ValueName = "Value", Namespace = "http://schemas.microsoft.com/windowsazure")>]
type MetadataDictionary =  
    class 
        inherit Dictionary<string, string>
    end
public final class MetadataDictionary extends Dictionary<String, String>

The MetadataDictionary type exposes the following members.

Properties

Name Description
Public property Comparer Gets the IEqualityComparer<T> that is used to determine equality of keys for the dictionary. (Inherited from Dictionary<String, String>.)
Public property Count Gets the number of key/value pairs contained in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, String>.)
Public property Item Gets or sets the value associated with the specified key. (Inherited from Dictionary<String, String>.)
Public property Keys Gets a collection containing the keys in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, String>.)
Public property Values Gets a collection containing the values in the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, String>.)

Top

Methods

Name Description
Public method Add Adds the specified key and value to the dictionary. (Inherited from Dictionary<String, String>.)
Public method Clear Removes all keys and values from the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, String>.)
Public method ContainsKey Determines whether the Dictionary<TKey, TValue> contains the specified key. (Inherited from Dictionary<String, String>.)
Public method ContainsValue Determines whether the Dictionary<TKey, TValue> contains a specific value. (Inherited from Dictionary<String, String>.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, String>.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetObjectData Security Critical. Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the Dictionary<TKey, TValue> instance. (Inherited from Dictionary<String, String>.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method OnDeserialization Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from Dictionary<String, String>.)
Public method Remove Removes the value with the specified key from the Dictionary<TKey, TValue>. (Inherited from Dictionary<String, String>.)
Public method ToString (Overrides Object.ToString().)
Public method TryGetValue Gets the value associated with the specified key. (Inherited from Dictionary<String, String>.)

Top

Explicit Interface Implementations

Name Description
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Add Adds the specified value to the ICollection<T> with the specified key. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IDictionary.Add Adds the specified key and value to the dictionary. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Contains Determines whether the ICollection<T> contains a specific key and value. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IDictionary.Contains Determines whether the IDictionary contains an element with the specified key. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.CopyTo Copies the elements of the ICollection<T> to an array of type KeyValuePair<TKey, TValue>, starting at the specified array index. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the ICollection<T> to an array, starting at the specified array index. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IDictionary.GetEnumerator Returns an IDictionaryEnumerator for the IDictionary. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.IsFixedSize Gets a value indicating whether the IDictionary has a fixed size. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly Gets a value indicating whether the dictionary is read-only. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.IsReadOnly Gets a value indicating whether the IDictionary is read-only. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.Item Gets or sets the value with the specified key. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary<TKey, TValue>.Keys Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.Keys Gets an ICollection containing the keys of the IDictionary. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Remove Removes a key and value from the dictionary. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IDictionary.Remove Removes the element with the specified key from the IDictionary. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that can be used to synchronize access to the ICollection. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary<TKey, TValue>.Values Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>. (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.Values Gets an ICollection containing the values in the IDictionary. (Inherited from Dictionary<String, String>.)

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.TeamFoundation.Deployment.Workflow.Activities Namespace