LanguageSpecificStringDictionary.Remove LanguageSpecificStringDictionary.Remove LanguageSpecificStringDictionary.Remove LanguageSpecificStringDictionary.Remove Method

定義

LanguageSpecificStringDictionary 移除項目。Removes the element from LanguageSpecificStringDictionary.

多載

Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>)

從集合中移除具有指定之索引鍵/值組的項目。Removes the element with the specified key/value pair from the collection.

Remove(XmlLanguage) Remove(XmlLanguage) Remove(XmlLanguage) Remove(XmlLanguage)

根據指定的索引鍵值,移除 LanguageSpecificStringDictionary 中的項目。Removes the element from LanguageSpecificStringDictionary based on the specified key value.

Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>) Remove(KeyValuePair<XmlLanguage,String>)

重要

此 API 不符合 CLS 規範。

從集合中移除具有指定之索引鍵/值組的項目。Removes the element with the specified key/value pair from the collection.

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::Windows::Markup::XmlLanguage ^, System::String ^> item);
[System.CLSCompliant(false)]
public bool Remove (System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage,string> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage, string> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<System.Windows.Markup.XmlLanguage, string> -> bool
Public Function Remove (item As KeyValuePair(Of XmlLanguage, String)) As Boolean

參數

item
KeyValuePair<XmlLanguage,String>

要移除的項目索引鍵/值組。The key/value pair of the element to remove.

傳回

如果成功移除項目,則為 true,否則為 falsetrue if the element is successfully removed; otherwise, false. 如果在原始的集合中找不到 item,則這個方法也會傳回 falseThis method also returns false if item was not found in the original collection.

實作

Remove(XmlLanguage) Remove(XmlLanguage) Remove(XmlLanguage) Remove(XmlLanguage)

根據指定的索引鍵值,移除 LanguageSpecificStringDictionary 中的項目。Removes the element from LanguageSpecificStringDictionary based on the specified key value.

public:
 virtual bool Remove(System::Windows::Markup::XmlLanguage ^ key);
public bool Remove (System.Windows.Markup.XmlLanguage key);
abstract member Remove : System.Windows.Markup.XmlLanguage -> bool
override this.Remove : System.Windows.Markup.XmlLanguage -> bool
Public Function Remove (key As XmlLanguage) As Boolean

參數

key
XmlLanguage XmlLanguage XmlLanguage XmlLanguage

型別 XmlLanguage 的值。A value of type XmlLanguage.

傳回

如果成功刪除 key 參考的項目則為 true,否則為 falsetrue if the element referenced by key was successfully deleted; otherwise false.

實作

適用於