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 | |
---|---|---|
EventIdentifier(Type, String) | Initializes a new instance of the EventIdentifier class with the specified existing type and event name. | |
EventIdentifier(TypeIdentifier, String) | Initializes a new instance of the EventIdentifier class with the specified existing type identifier and event name. |
Top
Properties
Name | Description | |
---|---|---|
DeclaringType | Gets the type that declares this event, if it was set in the constructor. | |
DeclaringTypeIdentifier | Gets the type identifier for the type that declares the event. | |
FullName | Gets the type-qualified name of the event. | |
IsEmpty | Gets a value that indicates whether the current identifier was created by using an empty constructor. | |
Name | Gets the name of the event. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current EventIdentifier. (Overrides ValueType.Equals(Object).) | |
Equals(EventIdentifier) | Determines whether the specified EventIdentifier is equal to the current EventIdentifier. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for the current EventIdentifier instance. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Gets the FullName property as a string. (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the specified EventIdentifier instances are considered equal. | |
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.