This documentation is archived and is not being maintained.

DesignerOptionService.DesignerOptionCollection Class

Contains a collection of designer options. This class cannot be inherited.


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

public sealed class DesignerOptionCollection : IList, 
	ICollection, IEnumerable

The DesignerOptionService.DesignerOptionCollection type exposes the following members.

Public propertyCountGets the number of child option collections this DesignerOptionService.DesignerOptionCollection contains.
Public propertyItem[Int32]Gets the child collection at the given index.
Public propertyItem[String]Gets the child collection at the given name.
Public propertyNameGets the name of this DesignerOptionService.DesignerOptionCollection.
Public propertyParentGets the parent collection object.
Public propertyPropertiesGets the collection of properties offered by this DesignerOptionService.DesignerOptionCollection, along with all of its children.

Public methodCopyToCopies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEnumeratorReturns an IEnumerator that can be used to iterate this collection.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOfReturns the index of the first occurrence of a given value in a range of this collection.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodShowDialogDisplays a dialog box user interface (UI) with which the user can configure the options in this DesignerOptionService.DesignerOptionCollection.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public Extension MethodAsParallelEnables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCast<TResult>Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)

Explicit interface implemetationPrivate propertyICollection.IsSynchronizedGets a value indicating whether access to the collection is synchronized and, therefore, thread safe.
Explicit interface implemetationPrivate propertyICollection.SyncRootGets an object that can be used to synchronize access to the collection.
Explicit interface implemetationPrivate methodIList.AddAdds an item to the IList.
Explicit interface implemetationPrivate methodIList.ClearRemoves all items from the collection.
Explicit interface implemetationPrivate methodIList.ContainsDetermines whether the collection contains a specific value.
Explicit interface implemetationPrivate methodIList.IndexOfDetermines the index of a specific item in the collection.
Explicit interface implemetationPrivate methodIList.InsertInserts an item into the collection at the specified index.
Explicit interface implemetationPrivate propertyIList.IsFixedSizeGets a value indicating whether the collection has a fixed size.
Explicit interface implemetationPrivate propertyIList.IsReadOnlyGets a value indicating whether the collection is read-only.
Explicit interface implemetationPrivate propertyIList.ItemGets or sets the element at the specified index.
Explicit interface implemetationPrivate methodIList.RemoveRemoves the first occurrence of a specific object from the collection.
Explicit interface implemetationPrivate methodIList.RemoveAtRemoves the collection item at the specified index.

The DesignerOptionService.DesignerOptionCollection class is a collection that contains other DesignerOptionService.DesignerOptionCollection objects. This forms a tree of options, with each branch of the tree having a name and a possible collection of properties. Each parent branch of the tree contains a union of the properties of all the child branches.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.