Share via


LoggingOptions.Keywords Property

Definition

Gets or sets the keyword value that represents the different categories that an event belongs to.

public:
 property long long Keywords { long long get(); void set(long long value); };
long Keywords();

void Keywords(long value);
public long Keywords { get; set; }
var int64 = loggingOptions.keywords;
loggingOptions.keywords = int64;
Public Property Keywords As Long

Property Value

Int64

long long

long

The keyword value.

Remarks

Each bit represents a category that an event belongs to. Event Tracing for Windows (ETW) tools are able to filter events based on keyword.

Important

Only the lower 48 bits are available for user-defined event categories. The top eight bits of the keyword value are reserved for future definition and must be set to zero (0). The next eight bits are reserved by Microsoft.

Applies to