EventKeyword EventKeyword EventKeyword EventKeyword Class

Definition

Represents a keyword for an event. Keywords are defined in an event provider and are used to group the event with other similar events (based on the usage of the events).

public ref class EventKeyword sealed
public sealed class EventKeyword
type EventKeyword = class
Public NotInheritable Class EventKeyword
Inheritance
EventKeywordEventKeywordEventKeywordEventKeyword

Remarks

This class cannot be instantiated. A ProviderMetadata object defies a list of EventKeyword objects, one for each keyword used by the provider events. Each keyword is a bit in a 64-bit mask. Predefined bit values and reserved bits occupy the top 16 positions of this mask, leaving the manifest to use any bits between 0x0000000000000001 and 0x0000800000000000.

The standard event keywords are defined in the StandardEventKeywords enumeration.

Properties

DisplayName DisplayName DisplayName DisplayName

Gets the localized name of the keyword.

Name Name Name Name

Gets the non-localized name of the keyword.

Value Value Value Value

Gets the numeric value associated with the keyword.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also