EventIdentifier Structure

Represents an event, which is independent of the platform.

Namespace:  Microsoft.Windows.Design.Metadata
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public Structure EventIdentifier _
    Implements IEquatable(Of EventIdentifier)
public struct EventIdentifier : IEquatable<EventIdentifier>
public value class EventIdentifier : IEquatable<EventIdentifier>
[<Sealed>]
type EventIdentifier =  
    struct
        interface IEquatable<EventIdentifier>
    end
JScript supports the use of structures, but not the declaration of new ones.

The EventIdentifier type exposes the following members.

Constructors

  Name Description
Public method EventIdentifier(Type, String) Initializes a new instance of the EventIdentifier class with the specified existing type and event name.
Public method EventIdentifier(TypeIdentifier, String) Initializes a new instance of the EventIdentifier class with the specified existing type identifier and event name.

Top

Properties

  Name Description
Public property DeclaringType Gets the type that declares this event, if it was set in the constructor.
Public property DeclaringTypeIdentifier Gets the type identifier for the type that declares the event.
Public property FullName Gets the type-qualified name of the event.
Public property IsEmpty Gets a value that indicates whether the current identifier was created by using an empty constructor.
Public property Name Gets the name of the event.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current EventIdentifier. (Overrides ValueType.Equals(Object).)
Public method Equals(EventIdentifier) Determines whether the specified EventIdentifier is equal to the current EventIdentifier.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for the current EventIdentifier instance. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Gets the FullName property as a string. (Overrides ValueType.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether the specified EventIdentifier instances are considered equal.
Public operatorStatic member Inequality Determines whether the specified EventIdentifier instances are considered not equal.

Top

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.Metadata Namespace