ProjectionManager.RequestStartProjectingAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
投影機或其他次要顯示器所要顯示之視窗的新識別碼。
- anchorViewId
-
Int32
int
投影前的原始視窗識別碼。
- 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
投影機或其他次要顯示器所要顯示之視窗的新識別碼。
- anchorViewId
-
Int32
int
投影前的原始視窗識別碼。
- selection
- Rect
飛出視窗顯示的一側區域。
- prefferedPlacement
- Placement
應顯示飛出視窗之矩形的側邊。
傳回
如果投影已啟動,則為true;否則為false。
- 屬性