PropertyViewer.PropertyItemCollection.Contains Method
Retrieves a value indicating whether the control 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 PropertyViewer..::..PropertyItem _
) As Boolean
'Usage
Dim instance As PropertyViewer..::..PropertyItemCollection
Dim item As PropertyViewer..::..PropertyItem
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
PropertyViewer..::..PropertyItem item
)
public:
virtual bool Contains(
PropertyViewer..::..PropertyItem^ item
) sealed
abstract Contains :
item:PropertyViewer..::..PropertyItem -> bool
override Contains :
item:PropertyViewer..::..PropertyItem -> bool
public final function Contains(
item : PropertyViewer..::..PropertyItem
) : boolean
Parameters
- item
Type: Microsoft.SqlServer.Management.Controls.PropertyViewer.PropertyItem
A string expression that specifies the key for which to search the elements of the collection.
Return Value
Type: System.Boolean
true if the control contains an element with a specific key; otherwise, false.