XmlWhitespace.Value 属性

定义

获取或设置节点的值。Gets or sets the value of the node.

public:
 virtual property System::String ^ Value { System::String ^ get(); void set(System::String ^ value); };
public override string Value { get; set; }
public override string? Value { get; set; }
member this.Value : string with get, set
Public Overrides Property Value As String

属性值

String

在节点中找到空白字符。The white space characters found in the node.

例外

Value 设置为无效空白字符。Setting Value to invalid white space characters.

注解

设置此属性时,必须指定有效的空白字符。When setting this property, valid white space characters must be specified. 空白可由一个或多个空格字符、回车符、换行符或制表符组成。White space can consist of one or more space characters, carriage returns, line feeds, or tabs.

适用于