LoggingFields.AddSingleArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddSingleArray(String, Single[]) |
Adds a Single array field with the specified field name. |
AddSingleArray(String, Single[], LoggingFieldFormat) |
Adds a Single array field with the specified field name and format. |
AddSingleArray(String, Single[], LoggingFieldFormat, Int32) |
Adds a Single array field with the specified field name, format, and tags. |
AddSingleArray(String, Single[])
public:
virtual void AddSingleArray(Platform::String ^ name, Platform::Array <float> ^ value) = AddSingleArray;
/// [Windows.Foundation.Metadata.Overload("AddSingleArray")]
void AddSingleArray(winrt::hstring const& name, winrt::array_view <float> const& value);
[Windows.Foundation.Metadata.Overload("AddSingleArray")]
public void AddSingleArray(string name, float[] value);
function addSingleArray(name, value)
Public Sub AddSingleArray (name As String, value As Single())
Parameters
- name
-
String
Platform::String
winrt::hstring
Name of the event field.
- value
-
Single[]
float[]
The value for the event field.
- Attributes
See also
- AddSingleArray(String, Single[], LoggingFieldFormat)
- AddSingleArray(String, Single[], LoggingFieldFormat, Int32)
Applies to
AddSingleArray(String, Single[], LoggingFieldFormat)
public:
virtual void AddSingleArray(Platform::String ^ name, Platform::Array <float> ^ value, LoggingFieldFormat format) = AddSingleArray;
/// [Windows.Foundation.Metadata.Overload("AddSingleArrayWithFormat")]
void AddSingleArray(winrt::hstring const& name, winrt::array_view <float> const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddSingleArrayWithFormat")]
public void AddSingleArray(string name, float[] value, LoggingFieldFormat format);
function addSingleArray(name, value, format)
Public Sub AddSingleArray (name As String, value As Single(), format As LoggingFieldFormat)
Parameters
- name
-
String
Platform::String
winrt::hstring
Name of the event field.
- value
-
Single[]
float[]
The value 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
AddSingleArray(String, Single[], LoggingFieldFormat, Int32)
public:
virtual void AddSingleArray(Platform::String ^ name, Platform::Array <float> ^ value, LoggingFieldFormat format, int tags) = AddSingleArray;
/// [Windows.Foundation.Metadata.Overload("AddSingleArrayWithFormatAndTags")]
void AddSingleArray(winrt::hstring const& name, winrt::array_view <float> const& value, LoggingFieldFormat const& format, int const& tags);
[Windows.Foundation.Metadata.Overload("AddSingleArrayWithFormatAndTags")]
public void AddSingleArray(string name, float[] value, LoggingFieldFormat format, int tags);
function addSingleArray(name, value, format, tags)
Public Sub AddSingleArray (name As String, value As Single(), format As LoggingFieldFormat, tags As Integer)
Parameters
- name
-
String
Platform::String
winrt::hstring
Name of the event field.
- value
-
Single[]
float[]
The value 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