XmlDictionaryString(IXmlDictionary, String, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.