Click or drag to resize
OrderedBagTViewContains Method
Determines if this view of the bag contains an item equal to item. The bag is not changed. If

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public override sealed bool Contains(
	T item
)

Parameters

item
Type: T
The item to search for.

Return Value

Type: Boolean
True if the bag contains item, and item is within the range of this view. False otherwise.

Implements

ICollectionTContains(T)
Remarks
Searching the bag for an item takes time O(log N), where N is the number of items in the bag.
See Also