編輯

共用方式為


EventLogRecord.Keywords Property

Definition

Gets the keyword mask of the event. Get the value of the KeywordsDisplayNames property to get the name of the keywords used in this mask.

public:
 virtual property Nullable<long> Keywords { Nullable<long> get(); };
public override long? Keywords { get; }
member this.Keywords : Nullable<int64>
Public Overrides ReadOnly Property Keywords As Nullable(Of Long)

Property Value

Returns a long value. This value can be null.

Remarks

The keywords for an event are used to group the event with other similar events based on the usage of the 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.

Applies to

See also