مشاركة عبر


AppCaptureMetadataWriter.StartInt32State Method

Definition

Adds a new double metadata state.

public:
 virtual void StartInt32State(Platform::String ^ name, int value, AppCaptureMetadataPriority priority) = StartInt32State;
void StartInt32State(winrt::hstring const& name, int const& value, AppCaptureMetadataPriority const& priority);
public void StartInt32State(string name, int value, AppCaptureMetadataPriority priority);
function startInt32State(name, value, priority)
Public Sub StartInt32State (name As String, value As Integer, priority As AppCaptureMetadataPriority)

Parameters

name
String

Platform::String

winrt::hstring

The name of the metadata state.

value
Int32

int

The value of the metadata state.

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 state with the window of time between when the state is started and when its value is changed or the state is stopped with a call to StopAllStates. To store a integer value that applies to an instantaneous moment in time, use AddInt32Event.

Applies to