RowDefinitionCollection.IList.Contains(Object) RowDefinitionCollection.IList.Contains(Object) RowDefinitionCollection.IList.Contains(Object) Method

定義

判斷此集合是否包含特定的值。Determines whether the collection contains a specific value.

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains (object value);
Function Contains (value As Object) As Boolean Implements IList.Contains

參數

value
Object Object Object

要在 RowDefinitionCollection 中尋找的 ObjectThe Object to locate in the RowDefinitionCollection.

傳回

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

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 RowDefinitionCollection 執行個體轉換成 IList 介面時,才能使用這個成員。It can be used only when the RowDefinitionCollection instance is cast to an IList interface.

適用於