Udostępnij za pośrednictwem


LoggingFields.AddInt16Array Method

Definition

Overloads

AddInt16Array(String, Int16[], LoggingFieldFormat, Int32)

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

AddInt16Array(String, Int16[])

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

AddInt16Array(String, Int16[], LoggingFieldFormat)

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

AddInt16Array(String, Int16[], LoggingFieldFormat, Int32)

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

public:
 virtual void AddInt16Array(Platform::String ^ name, Platform::Array <short> ^ value, LoggingFieldFormat format, int tags) = AddInt16Array;
/// [Windows.Foundation.Metadata.Overload("AddInt16ArrayWithFormatAndTags")]
void AddInt16Array(winrt::hstring const& name, winrt::array_view <short> const& value, LoggingFieldFormat const& format, int const& tags);
[Windows.Foundation.Metadata.Overload("AddInt16ArrayWithFormatAndTags")]
public void AddInt16Array(string name, short[] value, LoggingFieldFormat format, int tags);
function addInt16Array(name, value, format, tags)
Public Sub AddInt16Array (name As String, value As Short(), format As LoggingFieldFormat, tags As Integer)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

Int16[]

short[]

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.

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

AddInt16Array(String, Int16[])

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

public:
 virtual void AddInt16Array(Platform::String ^ name, Platform::Array <short> ^ value) = AddInt16Array;
/// [Windows.Foundation.Metadata.Overload("AddInt16Array")]
void AddInt16Array(winrt::hstring const& name, winrt::array_view <short> const& value);
[Windows.Foundation.Metadata.Overload("AddInt16Array")]
public void AddInt16Array(string name, short[] value);
function addInt16Array(name, value)
Public Sub AddInt16Array (name As String, value As Short())

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

Int16[]

short[]

Value of the event field.

Attributes

See also

Applies to

AddInt16Array(String, Int16[], LoggingFieldFormat)

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

public:
 virtual void AddInt16Array(Platform::String ^ name, Platform::Array <short> ^ value, LoggingFieldFormat format) = AddInt16Array;
/// [Windows.Foundation.Metadata.Overload("AddInt16ArrayWithFormat")]
void AddInt16Array(winrt::hstring const& name, winrt::array_view <short> const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddInt16ArrayWithFormat")]
public void AddInt16Array(string name, short[] value, LoggingFieldFormat format);
function addInt16Array(name, value, format)
Public Sub AddInt16Array (name As String, value As Short(), format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

Int16[]

short[]

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