CharacterMetricsDictionary.Remove Método

Definición

Quita el elemento de CharacterMetricsDictionary basándose en el código de carácter especificado.

Sobrecargas

Remove(KeyValuePair<Int32,CharacterMetrics>)

Quita el elemento de CharacterMetricsDictionary basándose en el par de clave y valor especificado.

Remove(Int32)

Quita el elemento de CharacterMetricsDictionary basándose en el código de carácter especificado.

Remove(KeyValuePair<Int32,CharacterMetrics>)

Importante

Esta API no es conforme a CLS.

Quita el elemento de CharacterMetricsDictionary basándose en el par de clave y valor especificado.

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

Parámetros

item
KeyValuePair<Int32,CharacterMetrics>

Par de clave y valor que representa el código de carácter y el valor de CharacterMetrics asociado.

Devoluciones

Boolean

Es true si se eliminó el elemento de CharacterMetrics correctamente; de lo contrario, es false.

Implementaciones

Atributos

Se aplica a

Remove(Int32)

Quita el elemento de CharacterMetricsDictionary basándose en el código de carácter especificado.

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

Parámetros

key
Int32

Valor de tipo Int32 que representa el código de carácter.

Devoluciones

Boolean

Es true si se eliminó el elemento de CharacterMetrics correctamente; de lo contrario, es false.

Implementaciones

Se aplica a