-api-id | -api-type |
---|---|
M:Windows.Foundation.Diagnostics.LoggingFields.Clear |
winrt method |
Removes all fields stored in the object and resets the object to its newly-constructed state.
This method allows you to reuse a LoggingFields instance with multiple events which improves performance by avoiding unnecessary object creation, payload buffer allocation, and garbage collection overhead.