private EncodeAttributeValue ( char value, int startIndex, int count ) : void | ||
value | char | |
startIndex | int | |
count | int | |
return | void |
void EncodeAttributeValue (char[] value, int startIndex, int count)
{
if (WriterState != HtmlWriterState.Attribute)
throw new InvalidOperationException ("Attribute values can only be written in the Attribute state.");
html.Write ('=');
HtmlUtils.HtmlAttributeEncode (html, value, startIndex, count);
WriterState = HtmlWriterState.Tag;
}
HtmlWriter::EncodeAttributeValue ( string value ) : void |