Click or drag to resize
OrderedBagTContains Method
Determines if this bag contains an item equal to item. The bag is not changed.

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. False if the bag does not contain item.

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