LoggingFields.AddSize Method

Definition

Overloads

AddSize(String, Size, LoggingFieldFormat, Int32)

Adds a Size field with the specified field name, format, and tags.

AddSize(String, Size, LoggingFieldFormat)

Adds a Size field with the specified field name and format.

AddSize(String, Size)

Adds a Size field with the specified field name.

AddSize(String, Size, LoggingFieldFormat, Int32)

Adds a Size field with the specified field name, format, and tags.

public:
 virtual void AddSize(Platform::String ^ name, Size value, LoggingFieldFormat format, int tags) = AddSize;
/// [Windows.Foundation.Metadata.Overload("AddSizeWithFormatAndTags")]
void AddSize(winrt::hstring const& name, Size const& value, LoggingFieldFormat const& format, int const& tags);
[Windows.Foundation.Metadata.Overload("AddSizeWithFormatAndTags")]
public void AddSize(string name, Size value, LoggingFieldFormat format, int tags);
function addSize(name, value, format, tags)
Public Sub AddSize (name As String, value As Size, format As LoggingFieldFormat, tags As Integer)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Size

The value for the event field.

format
LoggingFieldFormat

The format of the event field. Specifies an optional formatting hint that may be used by Event Tracing for Windows (ETW) tools.

tags
Int32

int

The user-defined tag for the event field. Specifies up to twenty-eight bits of user-defined field processing metadata for use by a custom ETW processing tool. The top four bits are reserved and must be set to zero (0).

Attributes

See also

Applies to

AddSize(String, Size, LoggingFieldFormat)

Adds a Size field with the specified field name and format.

public:
 virtual void AddSize(Platform::String ^ name, Size value, LoggingFieldFormat format) = AddSize;
/// [Windows.Foundation.Metadata.Overload("AddSizeWithFormat")]
void AddSize(winrt::hstring const& name, Size const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddSizeWithFormat")]
public void AddSize(string name, Size value, LoggingFieldFormat format);
function addSize(name, value, format)
Public Sub AddSize (name As String, value As Size, format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Size

The value for the event field.

format
LoggingFieldFormat

The format of the event field. Specifies an optional formatting hint that may be used by Event Tracing for Windows (ETW) tools.

Attributes

See also

Applies to

AddSize(String, Size)

Adds a Size field with the specified field name.

public:
 virtual void AddSize(Platform::String ^ name, Size value) = AddSize;
/// [Windows.Foundation.Metadata.Overload("AddSize")]
void AddSize(winrt::hstring const& name, Size const& value);
[Windows.Foundation.Metadata.Overload("AddSize")]
public void AddSize(string name, Size value);
function addSize(name, value)
Public Sub AddSize (name As String, value As Size)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Size

The value for the event field.

Attributes

See also

Applies to