語言

IClrCollectionAccessor.Contains(Object, Object) 方法

定義

檢查該值是否包含在集合中。

public bool Contains(object entity, object value);
abstract member Contains : obj * obj -> bool
Public Function Contains (entity As Object, value As Object) As Boolean

參數

entity
Object

實體實例。

value
Object

要檢查的值。

傳回

true 若該值包含在集合中; false 否則,

適用於