ModelItemDictionary.Contains Method
When overridden in a derived class, returns whether the dictionary contains the specified key value pair.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overridable Function Contains ( _
item As KeyValuePair(Of ModelItem, ModelItem) _
) As Boolean
protected virtual bool Contains(
KeyValuePair<ModelItem, ModelItem> item
)
protected:
virtual bool Contains(
KeyValuePair<ModelItem^, ModelItem^> item
)
abstract Contains :
item:KeyValuePair<ModelItem, ModelItem> -> bool
override Contains :
item:KeyValuePair<ModelItem, ModelItem> -> bool
protected function Contains(
item : KeyValuePair<ModelItem, ModelItem>
) : boolean
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<ModelItem, ModelItem>
The item to be tested for inclusion in the dictionary.
Return Value
Type: System.Boolean
true if the dictionary contains the item; 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