NameIDCollectionAdd(String, Int32, Object) Method

Add a new Item to the Collection by member values.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public NameIDItem Add(
	string name,
	int id,
	Object tag
)

Parameters

name  String
The Name of the Item to Add.
id  Int32
The ID of the Item to Add.
tag  Object
Object referenced from this item.

Return Value

NameIDItem
Newly created and added Item.

See Also