HtmlAttributeCollectionAddUnique Method

Add an Attribute to the Collection if it has a unique name.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public HtmlAttributeItem AddUnique(
	string name
)

Parameters

name  String
Name of the attribute to add.

Return Value

HtmlAttributeItem
Instance of the Attribute found or created.

See Also