Share via


LoggingFields.AddInt32 Method

Definition

Overloads

AddInt32(String, Int32, LoggingFieldFormat, Int32)

Adds a 32-bit integer array field with the specified field name, format, and tags.

AddInt32(String, Int32, LoggingFieldFormat)

Adds a 32-bit integer array field with the specified field name and format.

AddInt32(String, Int32)

Adds a 32-bit integer array field with the specified field name.

AddInt32(String, Int32, LoggingFieldFormat, Int32)

Adds a 32-bit integer array field with the specified field name, format, and tags.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Int32

int

The array values 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

AddInt32(String, Int32, LoggingFieldFormat)

Adds a 32-bit integer array field with the specified field name and format.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Int32

int

Value of 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

AddInt32(String, Int32)

Adds a 32-bit integer array field with the specified field name.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Int32

int

Value of the event field.

Attributes

See also

Applies to