Version

Contains(BaseToolbarItem) Method

Determines if an object is in the collection.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal item As BaseToolbarItem _
) As Boolean
public bool Contains( 
   BaseToolbarItem item
)

Parameters

item
The object to find in the collection.

Return Value

true if the item is found in the collection; false otherwise.
Remarks

This method performs a linear search; therefore, the average execution time is proportional to Count. That is, this method is an O(n) operation, where n is Count.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also