ExtendedPropertyCollection 类

继承层次结构

System.Object
  System.Collections.Generic.Dictionary<String, String>
    Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7.ExtendedPropertyCollection

命名空间:  Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7
程序集:  Microsoft.TeamFoundation.Deployment.Workflow(在 Microsoft.TeamFoundation.Deployment.Workflow.dll 中)

语法

声明
<CollectionDataContractAttribute(Name := "ExtendedProperties", ItemName := "ExtendedProperty",  _
    KeyName := "Name", ValueName := "Value", Namespace := "https://schemas.microsoft.com/windowsazure")> _
Public NotInheritable Class ExtendedPropertyCollection _
    Inherits Dictionary(Of String, String)
[CollectionDataContractAttribute(Name = "ExtendedProperties", ItemName = "ExtendedProperty", 
    KeyName = "Name", ValueName = "Value", Namespace = "https://schemas.microsoft.com/windowsazure")]
public sealed class ExtendedPropertyCollection : Dictionary<string, string>

ExtendedPropertyCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Comparer 获取用于确定字典中的键是否相等的 IEqualityComparer<T>。 (继承自 Dictionary<String, String>。)
公共属性 Count 获取包含在 Dictionary<TKey, TValue> 中的键/值对的数目。 (继承自 Dictionary<String, String>。)
公共属性 Item 获取或设置与指定的键相关联的值。 (继承自 Dictionary<String, String>。)
公共属性 Keys 获取包含 Dictionary<TKey, TValue> 中的键的集合。 (继承自 Dictionary<String, String>。)
公共属性 Values 获取包含 Dictionary<TKey, TValue> 中的值的集合。 (继承自 Dictionary<String, String>。)

页首

方法

  名称 说明
公共方法 Add 将指定的键和值添加到字典中。 (继承自 Dictionary<String, String>。)
公共方法 Clear Dictionary<TKey, TValue> 中移除所有的键和值。 (继承自 Dictionary<String, String>。)
公共方法 ContainsKey 确定 Dictionary<TKey, TValue> 是否包含指定的键。 (继承自 Dictionary<String, String>。)
公共方法 ContainsValue 确定 Dictionary<TKey, TValue> 是否包含特定值。 (继承自 Dictionary<String, String>。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetEnumerator 返回循环访问 Dictionary<TKey, TValue> 的枚举数。 (继承自 Dictionary<String, String>。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetObjectData 安全关键。实现 System.Runtime.Serialization.ISerializable 接口,并返回序列化 Dictionary<TKey, TValue> 实例所需的数据。 (继承自 Dictionary<String, String>。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 OnDeserialization 实现 System.Runtime.Serialization.ISerializable 接口,并在完成反序列化之后引发反序列化事件。 (继承自 Dictionary<String, String>。)
公共方法 Remove Dictionary<TKey, TValue> 中移除所指定的键的值。 (继承自 Dictionary<String, String>。)
公共方法 ToString (重写 Object.ToString()。)
公共方法 TryGetValue 获取与指定的键相关联的值。 (继承自 Dictionary<String, String>。)

页首

显式接口实现  

  名称 说明
显式接口实现私有方法 ICollection<KeyValuePair<TKey, TValue>>.Add 将指定值添加到具有指定键的 ICollection<T> 中。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 IDictionary.Add 将指定的键和值添加到字典中。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 ICollection<KeyValuePair<TKey, TValue>>.Contains 确定 ICollection<T> 是否包含特定的键和值。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 IDictionary.Contains 确定 IDictionary 是否包含具有指定键的元素。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 ICollection<KeyValuePair<TKey, TValue>>.CopyTo 从指定的数组索引开始,将 ICollection<T> 的元素复制到类型 KeyValuePair<TKey, TValue> 的数组中。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 ICollection.CopyTo 从指定的数组索引开始,将 ICollection<T> 中的元素复制到一个数组中。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator 返回一个循环访问集合的枚举器。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 IEnumerable.GetEnumerator 返回一个循环访问集合的枚举器。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 IDictionary.GetEnumerator 返回 IDictionaryIDictionaryEnumerator。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 IDictionary.IsFixedSize 获取一个值,该值指示 IDictionary 是否具有固定大小。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly 获取一个值,该值指示字典是否为只读。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 IDictionary.IsReadOnly 获取一个值,该值指示 IDictionary 是否为只读。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 ICollection.IsSynchronized 获取一个值,该值指示是否同步对 ICollection 的访问(线程安全)。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 IDictionary.Item 获取或设置具有指定键的值。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 IDictionary<TKey, TValue>.Keys 获取包含 IDictionary<TKey, TValue> 的键的 ICollection<T>。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 IDictionary.Keys 获取包含 IDictionary 的键的 ICollection。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 ICollection<KeyValuePair<TKey, TValue>>.Remove 从字典中移除键和值。 (继承自 Dictionary<String, String>。)
显式接口实现私有方法 IDictionary.Remove IDictionary 中移除带有指定键的元素。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 ICollection.SyncRoot 获取可用于同步对 ICollection 的访问的对象。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 IDictionary<TKey, TValue>.Values 获取包含 IDictionary<TKey, TValue> 中的值的 ICollection<T>。 (继承自 Dictionary<String, String>。)
显式接口实现私有属性 IDictionary.Values 获取包含 IDictionary 中的值的 ICollection。 (继承自 Dictionary<String, String>。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.TeamFoundation.Deployment.Workflow.AzureManagement.v1_7 命名空间