XmlBinaryReaderSession.Add(Int32, String) Method
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 XmlDictionaryString from the input parameters and adds it to an internal collection.
public:
System::Xml::XmlDictionaryString ^ Add(int id, System::String ^ value);
public System.Xml.XmlDictionaryString Add (int id, string value);
member this.Add : int * string -> System.Xml.XmlDictionaryString
Public Function Add (id As Integer, value As String) As XmlDictionaryString
Parameters
- id
- Int32
The key value.
- value
- String
The value.
Returns
The newly created XmlDictionaryString that is added to an internal collection.
Exceptions
id
is less than zero.
value
is null
.
An entry with key = id
already exists.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.