TextForAttribute(MarkupAttribute)
Last updated
Was this helpful?
Last updated
Was this helpful?
Method in
Returns the substring of covered byattribute
Position and Length properties.
If the attribute's property is zero, this method returns the empty string.
This method does not check to see if attribute
is an attribute belonging to this
MarkupParseResult. As a result, if you pass an attribute that
doesn't belong, it may describe a range of text that does not
appear in . If this occurs, an System.IndexOutOfRangeException
will be thrown.
attribute
The attribute to get the text for.
The text contained within the attribute.