Share via


LoggingFields.AddDoubleArray 方法

定义

重载

AddDoubleArray(String, Double[], LoggingFieldFormat, Int32)

添加具有指定字段名称、格式和标记的 Double 数组字段。

AddDoubleArray(String, Double[])

添加具有指定字段名称的 Double 数组字段。

AddDoubleArray(String, Double[], LoggingFieldFormat)

添加具有指定字段名称和格式的 Double 数组字段。

AddDoubleArray(String, Double[], LoggingFieldFormat, Int32)

添加具有指定字段名称、格式和标记的 Double 数组字段。

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

参数

name
String

Platform::String

winrt::hstring

事件字段的名称。

value

Double[]

double[]

事件字段的值数组。

format
LoggingFieldFormat

事件字段的格式。 指定可由 Windows 事件跟踪 (ETW) 工具使用的可选格式设置提示。

tags
Int32

int

事件字段的用户定义标记。 指定最多 28 位用户定义的字段处理元数据供自定义 ETW 处理工具使用。 前四位是保留位,并且必须设置为零 (0) 。

属性

另请参阅

适用于

AddDoubleArray(String, Double[])

添加具有指定字段名称的 Double 数组字段。

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

参数

name
String

Platform::String

winrt::hstring

事件字段的名称。

value

Double[]

double[]

事件字段的值数组。

属性

另请参阅

适用于

AddDoubleArray(String, Double[], LoggingFieldFormat)

添加具有指定字段名称和格式的 Double 数组字段。

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

参数

name
String

Platform::String

winrt::hstring

事件字段的名称。

value

Double[]

double[]

事件字段的值数组。

format
LoggingFieldFormat

事件字段的格式。 指定可由 Windows 事件跟踪 (ETW) 工具使用的可选格式设置提示。

属性

另请参阅

适用于