OrderedSetTViewContains Method |
Determines if this view of the set contains an item equal to item. The set
is not changed. If
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic override sealed bool Contains(
T item
)
public:
virtual bool Contains(
T item
) override sealed
Parameters
- item
- Type: T
The item to search for.
Return Value
Type:
BooleanTrue if the set contains
item, and
item is within
the range of this view. False otherwise.
Implements
ICollectionTContains(T)ICollectionTContains(T)
RemarksSearching the set for an item takes time O(log N), where N is the number of items in the set.
See Also