XmlWhitespace.Value 屬性

定義

取得或設定節點的值。

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

節點中找到的空白字元。

例外狀況

Value 設定為無效的空白字元。

備註

設定此屬性時,必須指定有效的空白字元。 空白字元可以包含一或多個空字元、歸位字元、換行字元或定位字元。

適用於