CharacterMetricsDictionary.Contains(KeyValuePair<Int32,CharacterMetrics>) Method

Definition

Important

This API is not CLS-compliant.

Determines whether the collection contains the specified key/value pair.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<int, System::Windows::Media::CharacterMetrics ^> item);
[System.CLSCompliant(false)]
public bool Contains (System.Collections.Generic.KeyValuePair<int,System.Windows.Media.CharacterMetrics> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics> -> bool
Public Function Contains (item As KeyValuePair(Of Integer, CharacterMetrics)) As Boolean

Parameters

item
KeyValuePair<Int32,CharacterMetrics>

The key/value pair representing the character code and associated CharacterMetrics value.

Returns

true if the dictionary contains the CharacterMetrics represented by the character code in item; otherwise, false.

Implements

Attributes

Applies to