NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlText.SplitText

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

[Visual Basic]
Overridable Public Function SplitText( _
   ByVal offset As Integer _
) As XmlText
[C#]
public virtual XmlText SplitText(
   int offset
);
[C++]
public: virtual XmlText* SplitText(
   int offset
);
[JScript]
public function SplitText(
   offset : int
) : XmlText;

Parameters

offset
Offset at which to split this node.

Remarks

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

See Also

XmlText Class | XmlText Members | System.NewXml Namespace