แก้ไข

แชร์ผ่าน


XmlSerializationReader.ReadString Method

Definition

Reads and returns the current string appended to the input value.

Overloads

ReadString(String, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the result of a call to the ReadString() method of the XmlReader class, trimmed of white space if needed, and appended to the input value.

ReadString(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Produces the result of a call to the ReadString() method appended to the input value.

ReadString(String, Boolean)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

Returns the result of a call to the ReadString() method of the XmlReader class, trimmed of white space if needed, and appended to the input value.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 System::String ^ ReadString(System::String ^ value, bool trim);
protected string? ReadString (string? value, bool trim);
protected string ReadString (string value, bool trim);
member this.ReadString : string * bool -> string
Protected Function ReadString (value As String, trim As Boolean) As String

Parameters

value
String

A string that will be appended to.

trim
Boolean

true if the result of the read operation should be trimmed; otherwise, false.

Returns

The result of the read operation appended to the input value.

Applies to

ReadString(String)

Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs
Source:
XmlSerializationReader.cs

Produces the result of a call to the ReadString() method appended to the input value.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 System::String ^ ReadString(System::String ^ value);
protected string? ReadString (string? value);
protected string ReadString (string value);
member this.ReadString : string -> string
Protected Function ReadString (value As String) As String

Parameters

value
String

A string to prefix to the result of a call to the ReadString() method.

Returns

The result of call to the ReadString() method appended to the input value.

Remarks

The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Applies to