System.Xml.XmlCharacterData and IXMLDOMCharacterData

only for RuBoard

System.Xml.XmlCharacterData and IXMLDOMCharacterData

XmlCharacterData class in the System.Xml namespace is an implementation of the W3C CharacterData interface. This class provides text manipulation methods that are used by several classes. Table B.16 and Table B.17 list the properties and methods respectively found in the XmlCharacterData class.

Table B.16. System.Xml.XmlCharacterData and IXMLDOMCharacterData Properties

XmlCharacterData (Inherits XmlLinkedNode )

Description

MSXML IXMLDOMCharacterData

Data

Contains the node's data.

data

Length

Gets the length, in characters , of the data.

length

NextSibling (Inherited from XmlLinkedNode )

Returns the node following this node at the same level in the document hierarchy.

nextSibling

Value (Overrides XMLNode:: Value )

Gets or sets the value (text) of the current node.

nodeValue

PreviousSibling (Inherited from XmlLinkedNode )

Gets the node previous to this node at the same level in the document hierarchy.

previousSibling

InnerText (Overrides XMLNode:: InnerText )

Gets or sets the concatenated values of the node and all its children.

text

Table B.17. System.Xml.XmlCharacterData and IXMLDOMCharacterData Methods

XmlCharacterData

Description

MSXML IXMLDOMCharacterData

AppendData

Appends the supplied string to the character data of the node.

appendData Appends the supplied string to the existing string data.

DeleteData

Deletes a range of characters from the node.

deleteData

InsertData

Inserts the supplied string at the specified character offset.

insertData

ReplaceData

Replaces the specified number of characters with the supplied string.

replaceData

Substring

Gets a substring of the full string from the range specified.

substringData

only for RuBoard


XML and ASP. NET
XML and ASP.NET
ISBN: B000H2MXOM
EAN: N/A
Year: 2005
Pages: 184

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net