IClrCollectionAccessor.ContainsStandalone(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.