Share via


LampArrayBlinkEffect.Occurrences Property

Definition

Number of occurrences this effect 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 = lampArrayBlinkEffect.occurrences;
lampArrayBlinkEffect.occurrences = int32;
Public Property Occurrences As Integer

Property Value

Int32

int

Default value 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 you've appended (see Append) an effect to a LampArrayEffectPlaylist, the value of this property is locked, and you can no longer change it.

Applies to

See also