共用方式為


PropertyExpressionCollection 類別

定義

表示 PropertyExpression 物件的集合。

public ref class PropertyExpressionCollection sealed : System::Collections::CollectionBase, ICloneable, System::Collections::Generic::ICollection<Microsoft::VisualStudio::TestTools::UITesting::PropertyExpression ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::TestTools::UITesting::PropertyExpression ^>, System::Collections::Specialized::INotifyCollectionChanged
public sealed class PropertyExpressionCollection : System.Collections.CollectionBase, ICloneable, System.Collections.Generic.ICollection<Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression>, System.Collections.Specialized.INotifyCollectionChanged
type PropertyExpressionCollection = class
    inherit CollectionBase
    interface ICloneable
    interface ICollection<PropertyExpression>
    interface seq<PropertyExpression>
    interface IEnumerable
    interface INotifyCollectionChanged
Public NotInheritable Class PropertyExpressionCollection
Inherits CollectionBase
Implements ICloneable, ICollection(Of PropertyExpression), IEnumerable(Of PropertyExpression), INotifyCollectionChanged
繼承
PropertyExpressionCollection
實作

建構函式

PropertyExpressionCollection()

初始化 PropertyExpressionCollection 類別的新執行個體。

屬性

IsReadOnly

傳回值,指出這個實例是否為唯讀。

Item[String]

傳回對應至所提供屬性名稱的屬性表達式。

方法

Add(PropertyExpression)

將所提供的屬性表示式加入至集合。

Add(String, String)

使用所提供的屬性名稱和屬性值,將屬性 express 加入至集合。

Add(String, String, PropertyExpressionOperator)

使用提供的屬性名稱、值和運算符,加入屬性運算式。

Add(String[])

針對提供的名稱/值組陣列中的每個配對,將屬性表達式加入集合中。

AddRange(PropertyExpression[])

將所提供參數陣列中的所有屬性運算式加入至目前的集合。

AddRange(PropertyExpressionCollection)

將所提供集合中的所有屬性表示式加入至目前的集合。

Clone()

傳回目前集合的複本。

Contains(PropertyExpression)

判斷集合是否包含提供的屬性表達式物件。

Contains(String)

判斷集合是否包含提供的屬性表達式物件。

CopyTo(PropertyExpression[], Int32)

從指定的索引開始,將提供的屬性表達式數位複製到集合中。

Equals(Object)

判斷提供的物件是否等於目前的 實例。

Find(String)

傳回屬性表達式物件,該物件具有符合所提供屬性名稱的屬性名稱。

GetEnumerator()

表示 PropertyExpression 物件的集合。

GetHashCode()

表示 PropertyExpression 物件的集合。

Remove(PropertyExpression)

從集合中移除所提供的屬性表達式。

Remove(String)

從集合中移除指定的屬性表達式。

事件

CollectionChanged

發生於加入、移除或修改集合的專案時。

擴充方法

EmptyIfNull<T>(IEnumerable<T>)

如果不是 Null,則傳回這個列舉。 如果是 null,則傳回空列舉。

適用於