IXmlDictionary Interface
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Public Interface IXmlDictionary
public interface IXmlDictionary
Methods
Name | Description | |
---|---|---|
TryLookup(Int32, XmlDictionaryString%) | Attempts to look up an entry in the dictionary. | |
TryLookup(String, XmlDictionaryString%) | Checks the dictionary for a specified string value. | |
TryLookup(XmlDictionaryString, XmlDictionaryString%) | Checks the dictionary for a specified XmlDictionaryString. |
Top
Remarks
This interface is implemented by XmlDictionary, which is used in Silverlight 5 to optimize the performance of serialization and deserialization of XML messages.
Implement this interface to provide custom XmlDictionaryString management.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.