Click or drag to resize
ICharacterDataSubstringData Method
Extracts a range of data from the node.

Namespace: Telerik.Windows.Documents.FormatProviders.Html.Parsing.Dom
Assembly: Telerik.Windows.Documents.FormatProviders.Html (in Telerik.Windows.Documents.FormatProviders.Html.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
string SubstringData(
	int offset,
	int count
)

Parameters

offset
Type: SystemInt32
count
Type: SystemInt32

Return Value

Type: String
The specified substring. If the sum of
offset
and
count
exceeds the
length
, then all 16-bit units to the end of the data are returned.
Exceptions
ExceptionCondition
DomException INDEX_SIZE_ERR: Raised if the specified
offset
is negative or greater than the number of 16-bit units in
data
, or if the specified
count
is negative.
DOMSTRING_SIZE_ERR: Raised if the specified range of text does not fit into a
DOMString
.
See Also