ModelItemCollection.Contains Method (ModelItem)
When overridden in a derived class, returns a value indicating whether the collection contains the specified item.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function Contains ( _
item As ModelItem _
) As Boolean
public abstract bool Contains(
ModelItem item
)
public:
virtual bool Contains(
ModelItem^ item
) abstract
abstract Contains :
item:ModelItem -> bool
public abstract function Contains(
item : ModelItem
) : boolean
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem to be tested.
Return Value
Type: System.Boolean
true if the item is contained in the collection; otherwise, false.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace