Breyta

Deila með


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
public sealed class DesignerOptionService.DesignerOptionCollection : System.Collections.IList
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.Design.DesignerOptionService+DesignerOptionConverter))>]
type DesignerOptionService.DesignerOptionCollection = class
    interface ICollection
    interface IEnumerable
    interface IList
type DesignerOptionService.DesignerOptionCollection = class
    interface ICollection
    interface IEnumerable
    interface IList
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.Design.DesignerOptionService+DesignerOptionConverter))>]
type DesignerOptionService.DesignerOptionCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class DesignerOptionService.DesignerOptionCollection
Implements IList
Inheritance
DesignerOptionService.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

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

Item[Int32]

Gets the child collection at the given index.

Item[String]

Gets the child collection at the given name.

Name

Gets the name of this DesignerOptionService.DesignerOptionCollection.

Parent

Gets the parent collection object.

Properties

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

Methods

CopyTo(Array, Int32)

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

Equals(Object)

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

(Inherited from Object)
GetEnumerator()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(DesignerOptionService+DesignerOptionCollection)

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShowDialog()

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.IsSynchronized

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

ICollection.SyncRoot

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

IList.Add(Object)

Adds an item to the IList.

IList.Clear()

Removes all items from the collection.

IList.Contains(Object)

Determines whether the collection contains a specific value.

IList.IndexOf(Object)

Determines the index of a specific item in the collection.

IList.Insert(Int32, Object)

Inserts an item into the collection at the specified index.

IList.IsFixedSize

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

IList.IsReadOnly

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

IList.Item[Int32]

Gets or sets the element at the specified index.

IList.Remove(Object)

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

IList.RemoveAt(Int32)

Removes the collection item at the specified index.

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also