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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: