IXmlDictionary Interface

IXmlDictionary Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Public methodTryLookup(Int32, XmlDictionaryString)Attempts to look up an entry in the dictionary.
Public methodTryLookup(String, XmlDictionaryString)Checks the dictionary for a specified string value.
Public methodTryLookup(XmlDictionaryString, XmlDictionaryString)Checks the dictionary for a specified XmlDictionaryString.

This interface is implemented by XmlDictionary, which is used in Windows Phone to optimize the performance of serialization and deserialization of XML messages.

Implement this interface to provide custom XmlDictionaryString management.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft