ReadString Method (String, Boolean)
Collapse the table of content
Expand the table of content

XmlSerializationReader.ReadString Method (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.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

protected string ReadString(
	string value,
	bool trim


Type: System.String

A string that will be appended to.

Type: System.Boolean

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

Return Value

Type: System.String

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

.NET Framework
Available since 2.0
Available since 2.0
Return to top
© 2015 Microsoft