語言

IClrCollectionAccessor.ContainsStandalone(Object, Object) 方法

定義

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

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

參數

collection
Object

集合。

value
Object

要檢查的值。

傳回

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

適用於