Delen via


LoggingFields.AddDouble Method

Definition

Overloads

AddDouble(String, Double)

Adds a Double field with the specified field name.

AddDouble(String, Double, LoggingFieldFormat)

Adds a Double field with the specified field name and format.

AddDouble(String, Double, LoggingFieldFormat, Int32)

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

AddDouble(String, Double)

Adds a Double field with the specified field name.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Double

double

Value of the event field.

Attributes

See also

Applies to

AddDouble(String, Double, LoggingFieldFormat)

Adds a Double field with the specified field name and format.

public:
 virtual void AddDouble(Platform::String ^ name, double value, LoggingFieldFormat format) = AddDouble;
/// [Windows.Foundation.Metadata.Overload("AddDoubleWithFormat")]
void AddDouble(winrt::hstring const& name, double const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddDoubleWithFormat")]
public void AddDouble(string name, double value, LoggingFieldFormat format);
function addDouble(name, value, format)
Public Sub AddDouble (name As String, value As Double, format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Double

double

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

AddDouble(String, Double, LoggingFieldFormat, Int32)

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

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Double

double

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