This documentation is archived and is not being maintained.

XmlCharacterData.Length Property

Gets the length of the data, in characters.

[Visual Basic]
Public Overridable ReadOnly Property Length As Integer
public virtual int Length {get;}
public: __property virtual int get_Length();
public function get Length() : int;

Property Value

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

XmlCharacterData Class | XmlCharacterData Members | System.Xml Namespace