ViewCollection

ViewCollection class

Contains a list of View objects. Implements ICollection< View > interface.

Methods

NameDescription
AddAdds the specified item to this collection.
ClearRemoves all items from this collection.
ContainsReturns true if the specified item is found in this collection; otherwise, false.
CopyToCopies the elements of this collection to the specified array, starting at the specified array index.
get_CountGets the number of elements contained in this collection.
get_IsReadOnlyGets a value indicating whether this collection is read-only; otherwise, false.
get_ParentProjectGets the parent of the View object. Read-only Project .
GetByNameSearches for a View with the name, and returns the first occurrence within the collection.
GetByViewScreenSearches for a View with the specified Screen property, and returns the first occurrence within the collection.
GetEnumeratorReturns an enumerator for this collection.
RemoveRemoves the first occurrence of a specific object from this collection.
ToListConverts a view collection to a list of View objects.