XmlSerializationReader.CollapseWhitespace(String) 方法

定义

从指定字符串的开头和结尾删除空格字符的所有匹配项。

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

value
String

将剪裁空格的字符串。

返回

剪裁后的字符串。

注解

XmlSerializationReader的受保护成员仅供在 .NET Framework XML 序列化基础结构内部使用的派生类使用。

适用于