共用方式為


LampArrayEffectPlaylist.Size 屬性

定義

取得 (播放清單) 元素數目的大小。

public:
 property unsigned int Size { unsigned int get(); };
uint32_t Size();
public uint Size { get; }
var uInt32 = lampArrayEffectPlaylist.size;
Public ReadOnly Property Size As UInteger

屬性值

UInt32

unsigned int

uint32_t

(播放清單中) 元素數目的大小。

實作

範例

LampArray 範例

示範如何使用Windows.Devices.Lights 和 Windows.Devices.Lights.Effects API 來控制周邊裝置的 RGB 光源。

AutoRGB 範例

示範如何從桌面畫面擷取單一代表性色彩,並用它來在連接的 RGB 裝置上亮起 LED 燈。

適用於

另請參閱