DesignerOptionService.DesignerOptionCollection DesignerOptionService.DesignerOptionCollection DesignerOptionService.DesignerOptionCollection DesignerOptionService.DesignerOptionCollection Class

Definition

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

public: ref class DesignerOptionService::DesignerOptionCollection sealed : System::Collections::IList
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.Design.DesignerOptionService/DesignerOptionConverter))]
public sealed class DesignerOptionService.DesignerOptionCollection : System.Collections.IList
type DesignerOptionService.DesignerOptionCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class DesignerOptionService.DesignerOptionCollection
Implements IList
Inheritance
DesignerOptionService.DesignerOptionCollectionDesignerOptionService.DesignerOptionCollectionDesignerOptionService.DesignerOptionCollectionDesignerOptionService.DesignerOptionCollection
Attributes
Implements

Remarks

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.

Properties

Count Count Count Count

Gets the number of child option collections this DesignerOptionService.DesignerOptionCollection contains.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the child collection at the given index.

Item[String] Item[String] Item[String] Item[String]

Gets the child collection at the given name.

Name Name Name Name

Gets the name of this DesignerOptionService.DesignerOptionCollection.

Parent Parent Parent Parent

Gets the parent collection object.

Properties Properties Properties Properties

Gets the collection of properties offered by this DesignerOptionService.DesignerOptionCollection, along with all of its children.

Methods

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an IEnumerator that can be used to iterate this collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(DesignerOptionService+DesignerOptionCollection) IndexOf(DesignerOptionService+DesignerOptionCollection) IndexOf(DesignerOptionService+DesignerOptionCollection) IndexOf(DesignerOptionService+DesignerOptionCollection)

Returns the index of the first occurrence of a given value in a range of this collection.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShowDialog() ShowDialog() ShowDialog() ShowDialog()

Displays a dialog box user interface (UI) with which the user can configure the options in this DesignerOptionService.DesignerOptionCollection.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

Gets a value indicating whether access to the collection is synchronized and, therefore, thread safe.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

Gets an object that can be used to synchronize access to the collection.

IList.Add(Object) IList.Add(Object) IList.Add(Object) IList.Add(Object)

Adds an item to the IList.

IList.Clear() IList.Clear() IList.Clear() IList.Clear()

Removes all items from the collection.

IList.Contains(Object) IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)

Determines whether the collection contains a specific value.

IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)

Determines the index of a specific item in the collection.

IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)

Inserts an item into the collection at the specified index.

IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize

Gets a value indicating whether the collection has a fixed size.

IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly

Gets a value indicating whether the collection is read-only.

IList.Item[Int32] IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]

Gets or sets the element at the specified index.

IList.Remove(Object) IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

Removes the first occurrence of a specific object from the collection.

IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32)

Removes the collection item at the specified index.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also