Επεξεργασία

Κοινή χρήση μέσω


XmlDictionaryString(IXmlDictionary, String, Int32) Constructor

Definition

Creates an instance of this class.

public:
 XmlDictionaryString(System::Xml::IXmlDictionary ^ dictionary, System::String ^ value, int key);
public XmlDictionaryString (System.Xml.IXmlDictionary dictionary, string value, int key);
new System.Xml.XmlDictionaryString : System.Xml.IXmlDictionary * string * int -> System.Xml.XmlDictionaryString
Public Sub New (dictionary As IXmlDictionary, value As String, key As Integer)

Parameters

dictionary
IXmlDictionary

The IXmlDictionary containing this instance.

value
String

The string that is the value of the dictionary entry.

key
Int32

The integer that is the key of the dictionary entry.

Exceptions

dictionary or value is null.

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

Remarks

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

Applies to