다음을 통해 공유


LampArrayEffectPlaylist.GetMany(UInt32, ILampArrayEffect[]) 메서드

정의

재생 목록 내의 지정된 인덱스에서 시작하여 램프 배열 효과의 범위를 검색합니다.

public:
 virtual unsigned int GetMany(unsigned int startIndex, Platform::Array <ILampArrayEffect ^> ^ items) = IVectorView<ILampArrayEffect ^>::GetMany;
uint32_t GetMany(uint32_t const& startIndex, winrt::array_view <ILampArrayEffect const&> & items);
public uint GetMany(uint startIndex, ILampArrayEffect[] items);
function getMany(startIndex, items)
Public Function GetMany (startIndex As UInteger, items As ILampArrayEffect()) As UInteger

매개 변수

startIndex
UInt32

unsigned int

uint32_t

검색할 첫 번째 램프 배열 효과의 인덱스(0부터 시작)입니다.

items
ILampArrayEffect[]

메서드가 요청된 효과로 업데이트할 ILampArrayEffect의 배열입니다.

반환

UInt32

unsigned int

uint32_t

항목에 반환된 효과 수입니다.

구현

M:Windows.Foundation.Collections.IVectorView1.GetMany(System.UInt32,0[]) M:Windows.Foundation.Collections.IVectorView1.GetMany(unsigned int,0[]) M:Windows.Foundation.Collections.IVectorView1.GetMany(uint32_t,0[])

예제

LampArray 샘플

Windows.Devices.Lights 및 Windows.Devices.Lights.Effects API를 사용하여 주변 장치의 RGB 조명을 제어하는 방법을 보여 줍니다.

AutoRGB 샘플

데스크톱 화면에서 대표적인 단일 색을 추출하고 이를 사용하여 연결된 RGB 디바이스에서 LED 램프를 비추는 방법을 보여 줍니다.

적용 대상

추가 정보