ResourceCollection

ResourceCollection class

Represents a collection of Resource objects.

Methods

NameDescription
Add (3 overloads)Adds new resource at the last position of a project resources collection.
ClearDirect clearing is not supported, this method just throw NotSupportedException.
get_CountGets the number of elements contained in the ResourceCollection .
get_ParentProjectGets the parent project of the ResourceCollection object.
GetByIdReturns a resource with the specified id.
GetByUidReturns a resource with the specified Uid.
GetEnumeratorReturns an enumerator for this collection.
idx_getReturns the element at the specified index.
idx_setReturns the element at the specified index.
RemoveThis is the stub implementation of ICollection’s Remove method, that only throws NotSupportedException
ToListConverts the ResourceCollection object to a list of Resource objects.