Dela via


LoggingFields.AddDateTimeArray Method

Definition

Overloads

AddDateTimeArray(String, DateTime[])

Adds a DateTime array field with the specified field name.

AddDateTimeArray(String, DateTime[], LoggingFieldFormat)

Adds a DateTime array field with the specified field name and format.

AddDateTimeArray(String, DateTime[], LoggingFieldFormat, Int32)

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

AddDateTimeArray(String, DateTime[])

Adds a DateTime array field with the specified field name.

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

Parameters

name
String

Platform::String

winrt::hstring

The name of the event field.

value

DateTime[]

DateTimeOffset[]

The array of values for the event field.

Attributes

See also

Applies to

AddDateTimeArray(String, DateTime[], LoggingFieldFormat)

Adds a DateTime array field with the specified field name and format.

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

Parameters

name
String

Platform::String

winrt::hstring

The name of the event field.

value

DateTime[]

DateTimeOffset[]

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

AddDateTimeArray(String, DateTime[], LoggingFieldFormat, Int32)

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

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

Parameters

name
String

Platform::String

winrt::hstring

The name of the event field.

value

DateTime[]

DateTimeOffset[]

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