LoggingFields.AddUInt16Array Method

Definition

Overloads

AddUInt16Array(String, UInt16[])

Adds a16-bit unsigned integer field with the specified field name.

AddUInt16Array(String, UInt16[], LoggingFieldFormat)

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

AddUInt16Array(String, UInt16[], LoggingFieldFormat, Int32)

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

AddUInt16Array(String, UInt16[])

Adds a16-bit unsigned integer field with the specified field name.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

UInt16[]

unsigned short[]

uint16_t[]

The value for the event field. The default format for the array is binary. See the remarks section for other formats that may be specified.

Attributes

See also

Applies to

AddUInt16Array(String, UInt16[], LoggingFieldFormat)

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

public:
 virtual void AddUInt16Array(Platform::String ^ name, Platform::Array <unsigned short> ^ value, LoggingFieldFormat format) = AddUInt16Array;
/// [Windows.Foundation.Metadata.Overload("AddUInt16ArrayWithFormat")]
void AddUInt16Array(winrt::hstring const& name, winrt::array_view <uint16_t> const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddUInt16ArrayWithFormat")]
public void AddUInt16Array(string name, ushort[] value, LoggingFieldFormat format);
function addUInt16Array(name, value, format)
Public Sub AddUInt16Array (name As String, value As UShort(), format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

UInt16[]

unsigned short[]

uint16_t[]

The value for the event field. The default format for the array is binary. See the remarks section for other formats that may be specified.

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

AddUInt16Array(String, UInt16[], LoggingFieldFormat, Int32)

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

public:
 virtual void AddUInt16Array(Platform::String ^ name, Platform::Array <unsigned short> ^ value, LoggingFieldFormat format, int tags) = AddUInt16Array;
/// [Windows.Foundation.Metadata.Overload("AddUInt16ArrayWithFormatAndTags")]
void AddUInt16Array(winrt::hstring const& name, winrt::array_view <uint16_t> const& value, LoggingFieldFormat const& format, int const& tags);
[Windows.Foundation.Metadata.Overload("AddUInt16ArrayWithFormatAndTags")]
public void AddUInt16Array(string name, ushort[] value, LoggingFieldFormat format, int tags);
function addUInt16Array(name, value, format, tags)
Public Sub AddUInt16Array (name As String, value As UShort(), format As LoggingFieldFormat, tags As Integer)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

UInt16[]

unsigned short[]

uint16_t[]

The value for the event field. The default format for the array is binary. See the remarks section for other formats that may be specified.

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