CharacterMetricsDictionary.Remove Metoda

Definicja

Usuwa element z CharacterMetricsDictionary na podstawie określonego kodu znaku.

Przeciążenia

Remove(KeyValuePair<Int32,CharacterMetrics>)

Usuwa element z CharacterMetricsDictionary na podstawie określonej pary klucz/wartość.

Remove(Int32)

Usuwa element z CharacterMetricsDictionary na podstawie określonego kodu znaku.

Remove(KeyValuePair<Int32,CharacterMetrics>)

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Usuwa element z CharacterMetricsDictionary na podstawie określonej pary klucz/wartość.

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<int, System::Windows::Media::CharacterMetrics ^> item);
[System.CLSCompliant(false)]
public bool Remove (System.Collections.Generic.KeyValuePair<int,System.Windows.Media.CharacterMetrics> item);
[<System.CLSCompliant(false)>]
abstract member Remove : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics> -> bool
Public Function Remove (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

trueCharacterMetrics jeśli element został pomyślnie usunięty; w przeciwnym razie false.

Implementuje

Atrybuty

Dotyczy

Remove(Int32)

Usuwa element z CharacterMetricsDictionary na podstawie określonego kodu znaku.

public:
 virtual bool Remove(int key);
public bool Remove (int key);
abstract member Remove : int -> bool
override this.Remove : int -> bool
Public Function Remove (key As Integer) As Boolean

Parametry

key
Int32

Wartość typu Int32 reprezentująca kod znaku.

Zwraca

Boolean

trueCharacterMetrics jeśli element został pomyślnie usunięty; w przeciwnym razie false.

Implementuje

Dotyczy