DialDevicePicker.PickSingleDialDeviceAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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 对象。
- 属性