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
namestring- The name of the attribute.
valuestring optional- The value of the attribute, or
nullif the attribute is without a value.
Returns
- KeyValuePair<string, string>
- An attribute with the specified name and value.
