Edit

Bagikan melalui


XmlSerializationReader.CollapseWhitespace(String) Method

Definition

Removes all occurrences of white space characters from the beginning and end of the specified string.

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

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

Parameters

value
String

The string that will have its white space trimmed.

Returns

The trimmed string.

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