Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlDictionaryString Constructor

Creates an instance of the XmlDictionaryString class.

Namespace:  System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)
public XmlDictionaryString(
	IXmlDictionary dictionary,
	string value,
	int key
)

Parameters

dictionary
Type: System.Xml.IXmlDictionary
The IXmlDictionary that contains this instance.
value
Type: System.String
The string that is the value of the dictionary entry.
key
Type: System.Int32
The integer that is the key of the dictionary entry.
ExceptionCondition
ArgumentNullException

value is null.

ArgumentOutOfRangeException

key is less than 0 or greater than MaxValue / 4.

The XmlDictionaryString does not automatically add itself to the specified dictionary.

If the dictionary parameter is null, the XmlDictionaryString is created with a key of 0 and the value set to an empty string.

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

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.