Share via


LoggingFields.AddChar16Array Method

Definition

Overloads

AddChar16Array(String, Char[], LoggingFieldFormat)

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

AddChar16Array(String, Char[], LoggingFieldFormat, Int32)

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

AddChar16Array(String, Char[])

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

AddChar16Array(String, Char[], LoggingFieldFormat)

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

public:
 virtual void AddChar16Array(Platform::String ^ name, Platform::Array <char16> ^ value, LoggingFieldFormat format) = AddChar16Array;
/// [Windows.Foundation.Metadata.Overload("AddChar16ArrayWithFormat")]
void AddChar16Array(winrt::hstring const& name, winrt::array_view <char16_t> const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddChar16ArrayWithFormat")]
public void AddChar16Array(string name, char[] value, LoggingFieldFormat format);
function addChar16Array(name, value, format)
Public Sub AddChar16Array (name As String, value As Char(), format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

The name of the event field.

value

Char[]

char16[]

char16_t[]

The array of 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.

Attributes

See also

Applies to

AddChar16Array(String, Char[], LoggingFieldFormat, Int32)

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

public:
 virtual void AddChar16Array(Platform::String ^ name, Platform::Array <char16> ^ value, LoggingFieldFormat format, int tags) = AddChar16Array;
/// [Windows.Foundation.Metadata.Overload("AddChar16ArrayWithFormatAndTags")]
void AddChar16Array(winrt::hstring const& name, winrt::array_view <char16_t> const& value, LoggingFieldFormat const& format, int const& tags);
[Windows.Foundation.Metadata.Overload("AddChar16ArrayWithFormatAndTags")]
public void AddChar16Array(string name, char[] value, LoggingFieldFormat format, int tags);
function addChar16Array(name, value, format, tags)
Public Sub AddChar16Array (name As String, value As Char(), format As LoggingFieldFormat, tags As Integer)

Parameters

name
String

Platform::String

winrt::hstring

The name of the event field.

value

Char[]

char16[]

char16_t[]

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

AddChar16Array(String, Char[])

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

public:
 virtual void AddChar16Array(Platform::String ^ name, Platform::Array <char16> ^ value) = AddChar16Array;
/// [Windows.Foundation.Metadata.Overload("AddChar16Array")]
void AddChar16Array(winrt::hstring const& name, winrt::array_view <char16_t> const& value);
[Windows.Foundation.Metadata.Overload("AddChar16Array")]
public void AddChar16Array(string name, char[] value);
function addChar16Array(name, value)
Public Sub AddChar16Array (name As String, value As Char())

Parameters

name
String

Platform::String

winrt::hstring

The name of the event field.

value

Char[]

char16[]

char16_t[]

The array of values for the event field.

Attributes

See also

Applies to