SessionPropertyCollection<T> 类

 

注释存储、书签,或者是会话属性的任意集合的集合。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

继承层次结构

System.Object
  System.Collections.ObjectModel.Collection<T>
    System.Collections.ObjectModel.ObservableCollection<T>
      Microsoft.TeamFoundation.TestManagement.Client.SessionPropertyCollection<T>

语法

public class SessionPropertyCollection<T> : ObservableCollection<T>
generic<typename T>
public ref class SessionPropertyCollection : ObservableCollection<T>
type SessionPropertyCollection<'T> = 
    class
        inherit ObservableCollection<'T>
    end
Public Class SessionPropertyCollection(Of T)
    Inherits ObservableCollection(Of T)

类型参数

  • T

构造函数

名称 说明
System_CAPS_pubmethod SessionPropertyCollection<T>()

属性

名称 说明
System_CAPS_pubproperty Count

(从 Collection<T> 继承。)

System_CAPS_pubproperty Item[Int32]

(从 Collection<T> 继承。)

System_CAPS_protproperty Items

(从 Collection<T> 继承。)

方法

名称 说明
System_CAPS_pubmethod Add(T)

(从 Collection<T> 继承。)

System_CAPS_protmethod BlockReentrancy()

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod CheckReentrancy()

(从 ObservableCollection<T> 继承。)

System_CAPS_pubmethod Clear()

(从 Collection<T> 继承。)

System_CAPS_protmethod ClearItems()

(替代 ObservableCollection<T>.ClearItems()。)

System_CAPS_pubmethod Contains(T)

(从 Collection<T> 继承。)

System_CAPS_pubmethod CopyTo(T[], Int32)

(从 Collection<T> 继承。)

System_CAPS_pubmethod Equals(Object)

(从 Object 继承。)

System_CAPS_protmethod Finalize()

(从 Object 继承。)

System_CAPS_pubmethod GetEnumerator()

(从 Collection<T> 继承。)

System_CAPS_pubmethod GetHashCode()

(从 Object 继承。)

System_CAPS_pubmethod GetType()

(从 Object 继承。)

System_CAPS_pubmethod IndexOf(T)

(从 Collection<T> 继承。)

System_CAPS_pubmethod Insert(Int32, T)

(从 Collection<T> 继承。)

System_CAPS_protmethod InsertItem(Int32, T)

(替代 ObservableCollection<T>.InsertItem(Int32, T)。)

System_CAPS_protmethod MemberwiseClone()

(从 Object 继承。)

System_CAPS_pubmethod Move(Int32, Int32)

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod MoveItem(Int32, Int32)

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod OnCollectionChanged(NotifyCollectionChangedEventArgs)

(从 ObservableCollection<T> 继承。)

System_CAPS_protmethod OnPropertyChanged(PropertyChangedEventArgs)

(从 ObservableCollection<T> 继承。)

System_CAPS_pubmethod Remove(T)

(从 Collection<T> 继承。)

System_CAPS_pubmethod RemoveAt(Int32)

(从 Collection<T> 继承。)

System_CAPS_protmethod RemoveItem(Int32)

(替代 ObservableCollection<T>.RemoveItem(Int32)。)

System_CAPS_protmethod SetItem(Int32, T)

(从 ObservableCollection<T> 继承。)

System_CAPS_pubmethod ToString()

(从 Object 继承。)

事件

名称 说明
System_CAPS_pubevent CollectionChanged

(从 ObservableCollection<T> 继承。)

System_CAPS_protevent PropertyChanged

(从 ObservableCollection<T> 继承。)

显式接口实现

名称 说明
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(从 Collection<T> 继承。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(从 Collection<T> 继承。)

线程安全

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

请参阅

Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首