ModelEventCollection Class
Represents an enumeration of events.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.Model.ModelMemberCollection<ModelEvent, EventIdentifier>
Microsoft.Windows.Design.Model.ModelEventCollection
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustInherit Class ModelEventCollection _
Inherits ModelMemberCollection(Of ModelEvent, EventIdentifier)
public abstract class ModelEventCollection : ModelMemberCollection<ModelEvent, EventIdentifier>
public ref class ModelEventCollection abstract : public ModelMemberCollection<ModelEvent^, EventIdentifier>
[<AbstractClass>]
type ModelEventCollection =
class
inherit ModelMemberCollection<ModelEvent, EventIdentifier>
end
public abstract class ModelEventCollection extends ModelMemberCollection<ModelEvent, EventIdentifier>
The ModelEventCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelEventCollection | Initializes a new instance of the ModelEventCollection class. |
Top
Properties
Name | Description | |
---|---|---|
Item[String] | Searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.) | |
Item[TKeyType] | Searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find(String) | Searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.) | |
Find(TKeyType) | Searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.) | |
Find(String, Boolean) | When overridden in a derived class, searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.) | |
Find(TKeyType, Boolean) | When overridden in a derived class, searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.) | |
GetEnumerator | When overridden in a derived class, returns an enumerator to enumerate items. (Inherited from ModelMemberCollection<TItemType, TKeyType>.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Infrastructure. For a description of this member, see IEnumerable.GetEnumerator. (Inherited from ModelMemberCollection<TItemType, TKeyType>.) |
Top
Remarks
The ModelEventCollection class defines an enumerator and a variety of search mechanisms.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.Model Namespace