NameIDCollectionAdd(String, Int32) Method

Add a new Item to the Collection by Name and ID.

Definition

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

Parameters

name  String
The Name of the Item to Add.
id  Int32
The ID of the Item to Add.

Return Value

NameIDItem
Newly created and added Item.

See Also