Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LanguageSpecificStringDictionary.Remove Method (KeyValuePair<XmlLanguage, String>)

 

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

This API is not CLS-compliant.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

[CLSCompliantAttribute(false)]
public bool Remove(
	KeyValuePair<XmlLanguage, string> item
)

Parameters

item
Type: System.Collections.Generic.KeyValuePair<XmlLanguage, String>

The key/value pair of the element to remove.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft