Export (0) Print
Expand All

DesignerOptionService.DesignerOptionCollection Class

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

System.Object
  System.ComponentModel.Design.DesignerOptionService.DesignerOptionCollection

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

public sealed class DesignerOptionCollection : IList, 
	ICollection, IEnumerable

The DesignerOptionService.DesignerOptionCollection type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.)
Public methodGetEnumeratorReturns an IEnumerator that can be used to iterate this collection.
Public methodGetHashCodeServes as the default hash function. (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.
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.)
Top

  NameDescription
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>Casts 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.)
Top

  NameDescription
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.
Top

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.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft