다음을 통해 공유


SpiDevice.FromIdAsync(String, SpiConnectionSettings) 메서드

정의

연결 설정이 제공된 디바이스를 엽니다.

public:
 static IAsyncOperation<SpiDevice ^> ^ FromIdAsync(Platform::String ^ busId, SpiConnectionSettings ^ settings);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<SpiDevice> FromIdAsync(winrt::hstring const& busId, SpiConnectionSettings const& settings);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SpiDevice> FromIdAsync(string busId, SpiConnectionSettings settings);
function fromIdAsync(busId, settings)
Public Shared Function FromIdAsync (busId As String, settings As SpiConnectionSettings) As IAsyncOperation(Of SpiDevice)

매개 변수

busId
String

Platform::String

winrt::hstring

버스의 ID입니다.

settings
SpiConnectionSettings

연결 설정입니다.

반환

SPI 디바이스가 요청되었습니다.

특성

Windows 요구 사항

앱 기능
lowLevel

적용 대상