Udostępnij za pośrednictwem


AppCaptureMetadataWriter.AddDoubleEvent Method

Definition

Adds a new double metadata event.

public:
 virtual void AddDoubleEvent(Platform::String ^ name, double value, AppCaptureMetadataPriority priority) = AddDoubleEvent;
void AddDoubleEvent(winrt::hstring const& name, double const& value, AppCaptureMetadataPriority const& priority);
public void AddDoubleEvent(string name, double value, AppCaptureMetadataPriority priority);
function addDoubleEvent(name, value, priority)
Public Sub AddDoubleEvent (name As String, value As Double, priority As AppCaptureMetadataPriority)

Parameters

name
String

Platform::String

winrt::hstring

The name of the metadata event.

value
Double

double

The value of the metadata event.

priority
AppCaptureMetadataPriority

A member of the AppCaptureMetadataPriority enumeration specifying the relative importance of the metadata item. This value and the age of a metadata item are used by the system to determine which metadata items should be purged first when the limit of the allocated storage space for accumulated metadata is reached.

Remarks

The system associates a metadata event with a timestamp when this method is called. To store a double value that applies to a window of time, use StartDoubleState.

Applies to