XmlDictionaryString Constructor
Collapse the table of content
Expand the table of content

XmlDictionaryString Constructor (IXmlDictionary, String, Int32)

 

Creates an instance of this 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 containing 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.

Exception Condition
ArgumentNullException

dictionary is null.

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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft