XmlDictionaryString(IXmlDictionary, String, Int32) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立這個類別的實例。
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)
參數
- dictionary
- IXmlDictionary
他們包含 IXmlDictionary 了這個實例。
- value
- String
字串是字典條目的值。
- key
- Int32
整數是字典條目的關鍵字。
例外狀況
dictionary 或 value 為 null。
key 小於 0 或大於 Int32.MaxValue / 4。
備註
該 XmlDictionaryString 字典不會自動加入指定的字典。