Adds a new Resource to the collection.

Namespace: DayPilot.Web.Ui
Assembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.0)

Syntax

C#
public int Add(
	string name,
	string id
)
Visual Basic
Public Function Add ( _
	name As String, _
	id As String _
) As Integer
Visual C++
public:
int Add(
	String^ name, 
	String^ id
)

Parameters

name
Type: System..::..String
Resource name
id
Type: System..::..String
Resource id

Return Value

See Also