共用方式為


HingeAngleSensor.GetRelatedToAdjacentPanelsAsync(String, String) 方法

定義

以非同步方式擷取兩個相鄰顯示面板的轉軸角度感應器。

public:
 static IAsyncOperation<HingeAngleSensor ^> ^ GetRelatedToAdjacentPanelsAsync(Platform::String ^ firstPanelId, Platform::String ^ secondPanelId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<HingeAngleSensor> GetRelatedToAdjacentPanelsAsync(winrt::hstring const& firstPanelId, winrt::hstring const& secondPanelId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<HingeAngleSensor> GetRelatedToAdjacentPanelsAsync(string firstPanelId, string secondPanelId);
function getRelatedToAdjacentPanelsAsync(firstPanelId, secondPanelId)
Public Shared Function GetRelatedToAdjacentPanelsAsync (firstPanelId As String, secondPanelId As String) As IAsyncOperation(Of HingeAngleSensor)

參數

firstPanelId
String

Platform::String

winrt::hstring

其中一個轉軸面板的裝置識別碼。

secondPanelId
String

Platform::String

winrt::hstring

其他轉軸面板的裝置識別碼。

傳回

此方法完成時,它會傳回 轉軸AngleSensor的參考。

屬性

適用於