Прочетете на английски Редактиране

Споделяне чрез


XmlDictionaryString(IXmlDictionary, String, Int32) Constructor

Definition

Creates an instance of this class.

C#
public XmlDictionaryString(System.Xml.IXmlDictionary dictionary, string value, int key);

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

Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0