Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SplitText()

virtual XmlText System.Xml.XmlText.SplitText ( int offset)
inlinevirtual

Definition at line 87 of file XmlText.cs.

88 {
90 int length = Length;
91 if (offset > length)
92 {
93 throw new ArgumentOutOfRangeException("offset");
94 }
95 if (xmlNode == null)
96 {
98 }
99 int count = length - offset;
100 string text = Substring(offset, count);
104 return xmlText;
105 }
static string Xdom_TextNode_SplitText
Definition SR.cs:1346
Definition SR.cs:7
virtual string Substring(int offset, int count)
virtual void DeleteData(int offset, int count)
virtual XmlText CreateTextNode(string? text)
virtual ? XmlNode InsertAfter(XmlNode newChild, XmlNode? refChild)
Definition XmlNode.cs:548
virtual ? XmlDocument OwnerDocument
Definition XmlNode.cs:109
override? XmlNode ParentNode
Definition XmlText.cs:14

References System.count, System.Xml.XmlDocument.CreateTextNode(), System.Xml.XmlCharacterData.DeleteData(), System.Xml.Dictionary, System.Xml.XmlNode.InsertAfter(), System.length, System.Xml.XmlCharacterData.Length, System.offset, System.Xml.XmlNode.OwnerDocument, System.Xml.XmlText.ParentNode, System.Xml.XmlCharacterData.Substring(), System.text, and System.SR.Xdom_TextNode_SplitText.