Dundas Chart for Windows Forms
Contains Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > CommandUIItemCollection Class : Contains Method


value
Object to be searched for in the collection.
The CommandUIItem to check.

Enterprise Only Feature. Determines if a specific object is in the collection.


Checks for the specified CommandUIItem instance if it exists in the collection.

Syntax

Visual Basic (Declaration)  
Public Function Contains( _
   ByVal value As CommandUIItem _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As CommandUIItemCollection
Dim value As CommandUIItem
Dim value As Boolean
 
value = instance.Contains(value)
C#  
public bool Contains( 
   CommandUIItem value
)

Parameters

value
Object to be searched for in the collection.
The CommandUIItem to check.

Return Value

A boolean value that indicates whether the specified object is a member of the collection.
True if collection contains this CommandUIItem

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.