XmlDictionaryString(IXmlDictionary, String, Int32) Konstruktor

Definition

Erstellt eine Instanz dieser Klasse.

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)

Parameter

dictionary
IXmlDictionary

Das diese Instanz enthaltende IXmlDictionary.

value
String

Die Zeichenfolge, die der Wert des Wörterbucheintrags ist.

key
Int32

Die ganze Zahl, die der Schlüssel des Wörterbucheintrags ist.

Ausnahmen

dictionary oder value ist null.

key ist kleiner als 0 oder größer als Int32.MaxValue /4.

Hinweise

XmlDictionaryString wird dem angegebenen Wörterbuch nicht automatisch hinzugefügt.

Gilt für: