Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlText::SplitText Method (Int32)

 

Splits the node into two nodes at the specified offset, keeping both in the tree as siblings.

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

public:
virtual XmlText^ SplitText(
	int offset
)

Parameters

offset
Type: System::Int32

The offset at which to split the node.

Return Value

Type: System.Xml::XmlText^

The new node.

After SplitText is called, the original node contains all the content up to the offset point. A new node of the same type contains all the content at and after the offset point and is inserted as the next sibling of the original node. When the offset is equal to the length of this node, the new node has no data.

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