Export (0) Print
Expand All

EventDescriptorCollection Members

EventDescriptorCollection overview

Public Constructors

public constructorEventDescriptorCollection Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the EventDescriptorCollection class.

Public Fields

public fieldstatic (Shared in Visual Basic)Empty

Supported by the .NET Compact Framework.

Specifies an empty collection to use, rather than creating a new one with no items. This static (Shared in Visual Basic) field is read-only.

Public Properties

public propertyCount

Supported by the .NET Compact Framework.

Gets the number of event descriptors in the collection.
public propertyItem Overloaded. Gets the specified event.

In C#, this property is the indexer for the EventDescriptorCollection class.

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Adds an EventDescriptor to the end of the collection.
public methodClear

Supported by the .NET Compact Framework.

Removes all objects from the collection.
public methodContains

Supported by the .NET Compact Framework.

Returns whether the collection contains the given EventDescriptor.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFind

Supported by the .NET Compact Framework.

Gets the description of the event with the specified name in the collection.
public methodGetEnumerator

Supported by the .NET Compact Framework.

Gets an enumerator for this EventDescriptorCollection.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf

Supported by the .NET Compact Framework.

Returns the index of the EventDescriptor given.
public methodInsert

Supported by the .NET Compact Framework.

Inserts an EventDescriptor to the collection at a specified index.
public methodRemove

Supported by the .NET Compact Framework.

Removes the specified EventDescriptor from the collection.
public methodRemoveAt

Supported by the .NET Compact Framework.

Removes the EventDescriptor at the specified index from the collection.
public methodSort Overloaded. Sorts the members of this EventDescriptorCollection.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodInternalSort Overloaded. Sorts the members of this EventDescriptorCollection.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

Explicit Interface Implementations

See Also

EventDescriptorCollection Class | System.ComponentModel Namespace

Show:
© 2015 Microsoft