Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 8
.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:
© 2017 Microsoft