PerceptionDepthFrameSource.FromIdAsync(String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
고유 ID를 조회하여 깊이 프레임 원본을 찾습니다.
public:
static IAsyncOperation<PerceptionDepthFrameSource ^> ^ FromIdAsync(Platform::String ^ id);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<PerceptionDepthFrameSource> FromIdAsync(winrt::hstring const& id);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource.FromIdAsync may be unavailable after Windows Creator Update. Use Windows.Devices.Enumeration.DeviceInformation.FromIdAsync instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
static IAsyncOperation<PerceptionDepthFrameSource> FromIdAsync(winrt::hstring const& id);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<PerceptionDepthFrameSource> FromIdAsync(string id);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource.FromIdAsync may be unavailable after Windows Creator Update. Use Windows.Devices.Enumeration.DeviceInformation.FromIdAsync instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<PerceptionDepthFrameSource> FromIdAsync(string id);
function fromIdAsync(id)
Public Shared Function FromIdAsync (id As String) As IAsyncOperation(Of PerceptionDepthFrameSource)
매개 변수
- id
-
String
Platform::String
winrt::hstring
깊이 프레임 원본의 고유 ID입니다.
반품
이 메서드가 완료되면 지정된 ID를 가진 깊이 프레임 원본이 있는 경우 비동기적으로 깊이 프레임 원본을 반환합니다. 그렇지 않으면 이 메서드는 null을 비동기적으로 반환합니다.
- 특성