XmlDictionaryString(IXmlDictionary, String, Int32) Constructor

Definición

Crea una instancia de esta clase.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)

Parámetros

dictionary
IXmlDictionary

IXmlDictionary que contiene esta instancia.The IXmlDictionary containing this instance.

value
String

La cadena que es el valor de la entrada del diccionario.The string that is the value of the dictionary entry.

key
Int32

El entero que es la clave de la entrada del diccionario.The integer that is the key of the dictionary entry.

Excepciones

dictionary o value es null.dictionary or value is null.

key es menor que 0 o mayor que MaxValue / 4.key is less than 0 or greater than MaxValue / 4.

Comentarios

XmlDictionaryString no se agrega automáticamente al diccionario especificado.The XmlDictionaryString does not automatically add itself to the specified dictionary.

Se aplica a