HtmlWriter.Attribute Method

Namespace
Kampute.DocToolkit.IO.Writers
Assembly
  • Kampute.DocToolkit.dll

Definition

Returns an attribute with the specified name and value.
public static KeyValuePair<string, string> Attribute(string name, string value = null)

Parameters

name string
The name of the attribute.
value string optional
The value of the attribute, or null if the attribute is without a value.

Returns

KeyValuePair<string, string>
An attribute with the specified name and value.