LanguageSpecificStringDictionary.Remove Method

Definition

Removes the element from LanguageSpecificStringDictionary.

Overloads

Remove(KeyValuePair<XmlLanguage,String>)

Removes the element with the specified key/value pair from the collection.

Remove(XmlLanguage)

Removes the element from LanguageSpecificStringDictionary based on the specified key value.

Remove(KeyValuePair<XmlLanguage,String>)

Important

This API is not CLS-compliant.

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

Parameters

item
KeyValuePair<XmlLanguage,String>

The key/value pair of the element to remove.

Returns

true if the element is successfully removed; otherwise, false. This method also returns false if item was not found in the original collection.

Implements

Attributes

Remove(XmlLanguage)

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

Parameters

key
XmlLanguage

A value of type XmlLanguage.

Returns

true if the element referenced by key was successfully deleted; otherwise false.

Implements

Applies to