Value Property

XmlWhitespace.Value Property

 

Gets or sets the value of the node.

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

public override string Value { get; set; }

Property Value

Type: System.String

The white space characters found in the node.

Exception Condition
ArgumentException

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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft