CharacterMetricsDictionary.Contains Metoda

Definicja

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Określa, czy kolekcja zawiera określoną parę klucz/wartość.

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);
[<System.CLSCompliant(false)>]
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

Parametry

item
KeyValuePair<Int32,CharacterMetrics>

Para klucz/wartość reprezentująca kod znaku i skojarzona CharacterMetrics wartość.

Zwraca

Boolean

true jeśli słownik zawiera element reprezentowany CharacterMetrics przez kod znaku w itempliku ; w przeciwnym razie false.

Implementuje

Atrybuty

Dotyczy