LogEvent.EventId property

The id of the event, or 0 if there is no id.

public EventId EventId { get; set; }

See Also