ModelItemDictionary.ICollection<KeyValuePair<ModelItem, ModelItem>>.Contains Method
For a description of this member, see ICollection<T>.Contains.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Private Function Contains ( _
item As KeyValuePair(Of ModelItem, ModelItem) _
) As Boolean Implements ICollection(Of KeyValuePair(Of ModelItem, ModelItem)).Contains
bool ICollection<KeyValuePair<ModelItem, ModelItem>>.Contains(
KeyValuePair<ModelItem, ModelItem> item
)
private:
virtual bool Contains(
KeyValuePair<ModelItem^, ModelItem^> item
) sealed = ICollection<KeyValuePair<ModelItem^, ModelItem^>>::Contains
private abstract Contains :
item:KeyValuePair<ModelItem, ModelItem> -> bool
private override Contains :
item:KeyValuePair<ModelItem, ModelItem> -> bool
JScript does not support explicit interface implementations.
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<ModelItem, ModelItem>
The key/value pair to locate in the collection.
Return Value
Type: System.Boolean
true if item is found in the collection; otherwise, false.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ModelItemDictionary instance is cast to an ICollection<T> interface.
.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