XmlDictionaryString(IXmlDictionary, String, Int32) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une instance de cette classe.
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)
Paramètres
- dictionary
- IXmlDictionary
Contenant IXmlDictionary cette instance.
- value
- String
Chaîne qui est la valeur de l’entrée de dictionnaire.
- key
- Int32
Entier qui est la clé de l’entrée de dictionnaire.
Exceptions
dictionary ou value est null.
key est inférieur à 0 ou supérieur à Int32.MaxValue / 4.
Remarques
Le XmlDictionaryString fichier ne s’ajoute pas automatiquement au dictionnaire spécifié.