IXmlDictionary Interface


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

An interface that defines the contract that an Xml dictionary must implement to be used by XmlDictionaryReader and XmlDictionaryWriter implementations.

Namespace:   System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public interface IXmlDictionary

System_CAPS_pubmethodTryLookup(Int32, XmlDictionaryString)

Attempts to look up an entry in the dictionary.

System_CAPS_pubmethodTryLookup(String, XmlDictionaryString)

Checks the dictionary for a specified string value.

System_CAPS_pubmethodTryLookup(XmlDictionaryString, XmlDictionaryString)

Checks the dictionary for a specified XmlDictionaryString.

This interface is implemented by XmlDictionary, which is used in Windows Communication Foundation (WCF) to optimize the performance of serialization and deserialization of XML messages. Implement this interface to provide custom XmlDictionaryString management.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top