CharacterMetricsDictionary.Remove 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據指定的字元代碼移除該元素 CharacterMetricsDictionary 。
多載
| 名稱 | Description |
|---|---|
| Remove(KeyValuePair<Int32,CharacterMetrics>) |
根據指定的鍵值對移除該元素 CharacterMetricsDictionary 。 |
| Remove(Int32) |
根據指定的字元代碼移除該元素 CharacterMetricsDictionary 。 |
Remove(KeyValuePair<Int32,CharacterMetrics>)
重要
此 API 不符合 CLS 規範。
根據指定的鍵值對移除該元素 CharacterMetricsDictionary 。
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
參數
代表字元代碼及相關 CharacterMetrics 值的鍵值對。
傳回
true 若 CharacterMetrics 該項目成功刪除;否則 false。
實作
- 屬性
適用於
Remove(Int32)
根據指定的字元代碼移除該元素 CharacterMetricsDictionary 。
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
參數
傳回
true 若 CharacterMetrics 該項目成功刪除;否則 false。