IXmlDictionary Interface

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

  NameDescription
Public methodSupported by Portable Class LibraryTryLookup(Int32, XmlDictionaryString)Attempts to look up an entry in the dictionary.
Public methodSupported by Portable Class LibraryTryLookup(String, XmlDictionaryString)Checks the dictionary for a specified string value.
Public methodSupported by Portable Class LibraryTryLookup(XmlDictionaryString, XmlDictionaryString)Checks the dictionary for a specified XmlDictionaryString.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft