XmlDictionary Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements a dictionary used to optimize Windows Communication Foundation (WCF)'s XML reader/writer implementations.
public ref class XmlDictionary : System::Xml::IXmlDictionary
public class XmlDictionary : System.Xml.IXmlDictionary
type XmlDictionary = class
interface IXmlDictionary
Public Class XmlDictionary
Implements IXmlDictionary
- Inheritance
-
XmlDictionary
- Implements
Dictionaries establish a mapping between commonly appearing text strings, and integers, and provide an effective mechanism for compressing and decompressing XML. Windows Communication Foundation (WCF) uses 2 kinds of dictionaries, static and dynamic.
With static dictionaries, both sides of the communication use a predefined dictionary.
With dynamic dictionaries, the sending side can add new strings and their mappings not already in the static dictionary. Dynamic dictionaries are sent out of band with the message. Dynamic dictionaries use the XmlBinaryWriterSession and XmlBinaryReaderSession classes to transmit messages and mappings.
Xml |
Creates an empty XmlDictionary. |
Xml |
Creates a XmlDictionary with an initial capacity. |
Empty |
Gets a |
Add(String) |
Adds a string to the XmlDictionary. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Try |
Attempts to look up an entry in the dictionary. |
Try |
Checks the dictionary for a specified string value. |
Try |
Checks the dictionary for a specified XmlDictionaryString. |
Produto | Versões |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: