Switcher.WidgetsCollection.Contains Method
Returns a Boolean value indicating whether the Switcher.WidgetsCollection 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 IWidget _
) As Boolean
'Usage
Dim instance As Switcher..::..WidgetsCollection
Dim item As IWidget
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
IWidget item
)
public:
virtual bool Contains(
IWidget^ item
) sealed
abstract Contains :
item:IWidget -> bool
override Contains :
item:IWidget -> bool
public final function Contains(
item : IWidget
) : boolean
Parameters
- item
Type: Microsoft.SqlServer.Management.Controls.IWidget
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 the WidgetsCollection object contains an element with a specific key.