共用方式為


DialDevicePicker.PickSingleDialDeviceAsync 方法

定義

多載

PickSingleDialDeviceAsync(Rect)

顯示選擇器。 直接呼叫這個方法以顯示選擇器,而不是顯示它以回應事件。

PickSingleDialDeviceAsync(Rect, Placement)

顯示選擇器。 直接呼叫這個方法以顯示選擇器,而不是顯示它以回應事件。

PickSingleDialDeviceAsync(Rect)

顯示選擇器。 直接呼叫這個方法以顯示選擇器,而不是顯示它以回應事件。

public:
 virtual IAsyncOperation<DialDevice ^> ^ PickSingleDialDeviceAsync(Rect selection) = PickSingleDialDeviceAsync;
/// [Windows.Foundation.Metadata.Overload("PickSingleDialDeviceAsync")]
IAsyncOperation<DialDevice> PickSingleDialDeviceAsync(Rect const& selection);
[Windows.Foundation.Metadata.Overload("PickSingleDialDeviceAsync")]
public IAsyncOperation<DialDevice> PickSingleDialDeviceAsync(Rect selection);
function pickSingleDialDeviceAsync(selection)
Public Function PickSingleDialDeviceAsync (selection As Rect) As IAsyncOperation(Of DialDevice)

參數

selection
Rect

要從中顯示選擇器的矩形。

傳回

使用者從選擇器選取的裝置。

屬性

另請參閱

適用於

PickSingleDialDeviceAsync(Rect, Placement)

顯示選擇器。 直接呼叫這個方法以顯示選擇器,而不是顯示它以回應事件。

public:
 virtual IAsyncOperation<DialDevice ^> ^ PickSingleDialDeviceAsync(Rect selection, Placement preferredPlacement) = PickSingleDialDeviceAsync;
/// [Windows.Foundation.Metadata.Overload("PickSingleDialDeviceAsyncWithPlacement")]
IAsyncOperation<DialDevice> PickSingleDialDeviceAsync(Rect const& selection, Placement const& preferredPlacement);
[Windows.Foundation.Metadata.Overload("PickSingleDialDeviceAsyncWithPlacement")]
public IAsyncOperation<DialDevice> PickSingleDialDeviceAsync(Rect selection, Placement preferredPlacement);
function pickSingleDialDeviceAsync(selection, preferredPlacement)
Public Function PickSingleDialDeviceAsync (selection As Rect, preferredPlacement As Placement) As IAsyncOperation(Of DialDevice)

參數

selection
Rect

要從中顯示選擇器的矩形。

preferredPlacement
Placement

要從中顯示選擇器的矩形邊緣。

傳回

已選取 DialDevice 物件。

屬性

另請參閱

適用於