XmlCharacterData::Length Property


Gets the length of the data, in characters.

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

property int Length {
	virtual int get();

Property Value

Type: System::Int32

The length, in characters, of the string in the Data property. The length may be zero; that is, CharacterData nodes can be empty.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top