Inserts a resource into the managed collection.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public Resource Insert(
	int index,
	SimpleResourceItem simpleResourceItem
)
Visual Basic (Declaration)
Public Function Insert ( _
	index As Integer, _
	simpleResourceItem As SimpleResourceItem _
) As Resource

Parameters

index
Type: System..::.Int32
The zero-based index at which the resource should be inserted.
simpleResourceItem
Type: DlhSoft.Windows.Data..::.SimpleResourceItem
Item definition representing the resource to insert.

Return Value

The new resource.

See Also