DesignSurfaceCollection Class

Contains a collection of design surfaces. This class cannot be inherited.

System.Object
  System.ComponentModel.Design.DesignSurfaceCollection

Namespace:  System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public sealed class DesignSurfaceCollection : ICollection, 
	IEnumerable

The DesignSurfaceCollection type exposes the following members.

  NameDescription
Public propertyCountGets the total number of design surfaces in the DesignSurfaceCollection.
Public propertyItemGets the design surface at the specified index.
Top

  NameDescription
Public methodCopyToCopies the collection members to the specified DesignSurface array beginning at the specified destination index.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetEnumeratorReturns an enumerator that can iterate through the DesignSurfaceCollection instance.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension MethodAsParallel()Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsParallel()Overloaded. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryable()Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodAsQueryable()Overloaded. (Defined by Queryable.)
Public Extension MethodCast<TResult>()Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodCast<TResult>()Overloaded. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>()Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>()Overloaded. (Defined by Enumerable.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICollection.CopyToFor a description of this member, see the CopyTo method.
Explicit interface implemetationPrivate propertyICollection.CountFor a description of this member, see the Count property.
Explicit interface implemetationPrivate propertyICollection.IsSynchronizedFor a description of this member, see the IsSynchronized property.
Explicit interface implemetationPrivate propertyICollection.SyncRootFor a description of this member, see the SyncRoot property.
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorFor a description of this member, see the GetEnumerator method.
Top

This class provides a read-only collection of design surfaces.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft