ModelItemCollection.Contains Method (Object)
When overridden in a derived class, returns a value indicating whether the collection contains the specified value.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function Contains ( _
value As Object _
) As Boolean
public abstract bool Contains(
Object value
)
public:
virtual bool Contains(
Object^ value
) abstract
abstract Contains :
value:Object -> bool
public abstract function Contains(
value : Object
) : boolean
Parameters
- value
Type: System.Object
An object to be tested.
Return Value
Type: System.Boolean
true if the item is contained in the collection; otherwise, false.
.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