LampArray.GetLampInfo(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual LampInfo ^ GetLampInfo(int lampIndex) = GetLampInfo;
LampInfo GetLampInfo(int const& lampIndex);
public LampInfo GetLampInfo(int lampIndex);
function getLampInfo(lampIndex)
Public Function GetLampInfo (lampIndex As Integer) As LampInfo
參數
傳回
範例
示範如何使用Windows.Devices.Lights 和 Windows.Devices.Lights.Effects API 來控制周邊裝置的 RGB 光源。
示範如何從桌面畫面擷取單一代表性色彩,並用它來在連接的 RGB 裝置上亮起 LED 燈。
備註
LampInfo包含指定索引之燈光的相關屬性。