LampArrayEffectPlaylist.Size 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 (播放列表) 元素数的大小。
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
属性值
的大小 () 播放列表中的元素数。
实现
示例
演示如何使用 Windows.Devices.Lights 和 Windows.Devices.Lights.Effects API 控制外围设备的 RGB 照明。
演示如何从桌面屏幕中提取具有代表性的单一颜色,并使用它来照亮连接的 RGB 设备上的 LED 灯。