ProjectionManager.RequestStartProjectingAsync 方法

定义

重载

RequestStartProjectingAsync(Int32, Int32, Rect)

发出请求,以异步方式将窗口 (应用视图) 发送到投影仪或其他辅助显示器。

RequestStartProjectingAsync(Int32, Int32, Rect, Placement)

发出请求,以异步方式将窗口 (应用视图) 发送到投影仪或其他具有指定首选位置的辅助显示器。

RequestStartProjectingAsync(Int32, Int32, Rect)

发出请求,以异步方式将窗口 (应用视图) 发送到投影仪或其他辅助显示器。

public:
 static IAsyncOperation<bool> ^ RequestStartProjectingAsync(int projectionViewId, int anchorViewId, Rect selection);
/// [Windows.Foundation.Metadata.Overload("RequestStartProjectingAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> RequestStartProjectingAsync(int const& projectionViewId, int const& anchorViewId, Rect const& selection);
[Windows.Foundation.Metadata.Overload("RequestStartProjectingAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> RequestStartProjectingAsync(int projectionViewId, int anchorViewId, Rect selection);
function requestStartProjectingAsync(projectionViewId, anchorViewId, selection)
Public Shared Function RequestStartProjectingAsync (projectionViewId As Integer, anchorViewId As Integer, selection As Rect) As IAsyncOperation(Of Boolean)

参数

projectionViewId
Int32

int

要由投影仪或其他辅助显示器显示的窗口的新 ID。

anchorViewId
Int32

int

投影前的原始窗口的 ID。

selection
Rect

显示浮出控件的一侧的区域。

返回

如果投影已启动,则为 true;否则为 false

属性

另请参阅

适用于

RequestStartProjectingAsync(Int32, Int32, Rect, Placement)

发出请求,以异步方式将窗口 (应用视图) 发送到投影仪或其他具有指定首选位置的辅助显示器。

public:
 static IAsyncOperation<bool> ^ RequestStartProjectingAsync(int projectionViewId, int anchorViewId, Rect selection, Placement prefferedPlacement);
/// [Windows.Foundation.Metadata.Overload("RequestStartProjectingWithPlacementAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> RequestStartProjectingAsync(int const& projectionViewId, int const& anchorViewId, Rect const& selection, Placement const& prefferedPlacement);
[Windows.Foundation.Metadata.Overload("RequestStartProjectingWithPlacementAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> RequestStartProjectingAsync(int projectionViewId, int anchorViewId, Rect selection, Placement prefferedPlacement);
function requestStartProjectingAsync(projectionViewId, anchorViewId, selection, prefferedPlacement)
Public Shared Function RequestStartProjectingAsync (projectionViewId As Integer, anchorViewId As Integer, selection As Rect, prefferedPlacement As Placement) As IAsyncOperation(Of Boolean)

参数

projectionViewId
Int32

int

要由投影仪或其他辅助显示器显示的窗口的新 ID。

anchorViewId
Int32

int

投影前的原始窗口的 ID。

selection
Rect

显示浮出控件的一侧的区域。

prefferedPlacement
Placement

应显示浮出控件的矩形的一侧。

返回

如果投影已启动,则为 true;否则为 false

属性

另请参阅

适用于