Delen via


IClrCollectionAccessor.ContainsStandalone(Object, Object) Method

Definition

Checks whether the value is contained in the passed collection.

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

Parameters

collection
Object

The collection.

value
Object

The value to check.

Returns

true if the value is contained in the collection; false otherwise.

Applies to