Switcher.ListViewCollection.Contains Method
Returns a Boolean value indicating whether a Collection object contains an element with a specific key.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Function Contains ( _
item As IView _
) As Boolean
'Usage
Dim instance As Switcher..::..ListViewCollection
Dim item As IView
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
IView item
)
public:
virtual bool Contains(
IView^ item
) sealed
abstract Contains :
item:IView -> bool
override Contains :
item:IView -> bool
public final function Contains(
item : IView
) : boolean
Parameters
- item
Type: Microsoft.SqlServer.Management.Controls.IView
Required. A string expression that specifies the key for which to search the elements of the collection.
Return Value
Type: System.Boolean
Returns a Boolean value indicating whether a Collection object contains an element with a specific key.