HtmlWriter.WriteInlineElement Method
- Namespace
- Kampute.DocToolkit.IO.Writers
- Assembly
- Kampute.DocToolkit.dll
Definition
Writes an inline HTML element with the specified name and attributes.
public virtual void WriteInlineElement(string tagName, IEnumerable<KeyValuePair<string, string>> attributes)Parameters
tagNamestring- The name of the tag to write.
attributesIEnumerable<KeyValuePair<string, string>>- The attributes to write on the tag.
Exceptions
- ArgumentException
- Thrown when
tagNameisnullor empty. - ArgumentNullException
- Thrown when
attributesisnull.
