XmlDictionaryString(IXmlDictionary, String, Int32) コンストラクター

定義

このクラスのインスタンスを作成します。

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 または valuenull

key が 0 未満か 、Int32.MaxValue / 4 より大きい値です。

注釈

XmlDictionaryStringは、指定したディクショナリに自動的には追加されません。

適用対象