ViewportList Class

Class that holds and manages the list of Viewports.
Public Class ViewportList 
Inherits CollectionBase
This language is not supported or no code example is available.
public class ViewportList : CollectionBase
This language is not supported or no code example is available.
Name Description
Public property Capacity Gets or sets the number of elements that the CollectionBase can contain. (inherited from CollectionBase).
Public property Count Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden. (inherited from CollectionBase).
Public property Item(int)
Top
Methods
 
Name Description
Public method Add(Viewport)
Public method AddRange(IList)
Public method Clear Removes all objects from the CollectionBase instance. This method cannot be overridden. (inherited from CollectionBase).
Public method Contains(Viewport)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetEnumerator Returns an enumerator that iterates through the CollectionBase instance. (inherited from CollectionBase).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method IndexOf(Viewport)
Public method Insert(int, Viewport)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method OnClear Performs additional custom processes when clearing the contents of the CollectionBase instance. (inherited from CollectionBase).
Protected method OnClearComplete Performs additional custom processes after clearing the contents of the CollectionBase instance. (inherited from CollectionBase).
Protected method OnInsert(int, object) Performs additional custom processes before inserting a new element into the CollectionBase instance.
Protected method OnInsertComplete(Int32, Object) Performs additional custom processes after inserting a new element into the CollectionBase instance. (inherited from CollectionBase).
Protected method OnRemove(int, object) Performs additional custom processes when removing an element from the CollectionBase instance.
Protected method OnRemoveComplete(Int32, Object) Performs additional custom processes after removing an element from the CollectionBase instance. (inherited from CollectionBase).
Protected method OnSet(int, object, object) Performs additional custom processes before setting a value in the CollectionBase instance.
Protected method OnSetComplete(Int32, Object, Object) Performs additional custom processes after setting a value in the CollectionBase instance. (inherited from CollectionBase).
Protected method OnValidate(object) Performs additional custom processes when validating a value.
Public method Remove(Viewport)
Public method RemoveAt(int)
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Name Description
Public extension method AsParallel() Enables parallelization of a query. (Defined by ParallelEnumerable).
Public extension method AsQueryable() Converts an IEnumerable to an IQueryable. (Defined by Queryable).
Public extension method Cast<TResult>() Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable).
Public extension method OfType<TResult>() Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable).
Top

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition