Html WriterWrite Attribute(String, Char, Int 32, Int 32) Method
Write the attribute to the output stream.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public void WriteAttribute(
string name,
char[] buffer,
int index,
int count
)Parameters
Remarks
Writes the attribute to the output stream.
Exceptions
| ArgumentNullException |
name is . -or- buffer is . |
| ArgumentOutOfRangeException |
index is less than zero or greater than the length of buffer. -or- index and count do not specify a valid range in the buffer. |
| ArgumentException | name is an invalid attribute name. |
| InvalidOperationException | The HtmlWriter is not in a state that allows writing attributes. |
| ObjectDisposedException | The HtmlWriter has been disposed. |