ExpressionBindingCollection.Contains(String) 方法

定義

判斷 ExpressionBindingCollection 集合是否含有特定 ExpressionBinding 物件。Determines whether the ExpressionBindingCollection collection contains a specific ExpressionBinding object.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 bool Contains(System::String ^ propName);
public bool Contains (string propName);
member this.Contains : string -> bool
Public Function Contains (propName As String) As Boolean

參數

propName
String

在集合中所要尋找之 PropertyNameExpressionBindingThe PropertyName of the ExpressionBinding to locate in the collection.

傳回

如果在 ExpressionBindingCollection 中找到 ExpressionBinding,則為 true,否則為 falsetrue if the ExpressionBinding is found in the ExpressionBindingCollection; otherwise, false.

適用於