Share via


LampArrayEffectPlaylist.Occurrences Property

Definition

Gets or sets the number of occurrences that this playlist will play.

public:
 property int Occurrences { int get(); void set(int value); };
int Occurrences();

void Occurrences(int value);
public int Occurrences { get; set; }
var int32 = lampArrayEffectPlaylist.occurrences;
lampArrayEffectPlaylist.occurrences = int32;
Public Property Occurrences As Integer

Property Value

Int32

int

Number of occurrences. Default is 0.

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.

Remarks

If RepetitionMode is Forever, this is ignored.

After playlist has started, the value is locked and is no longer possible to set the value.

Applies to

See also