TaskLocation 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| TaskLocation(Int32, Rect) |
建立 |
| TaskLocation(IntPtr, JniHandleOwnership) |
TaskLocation(Int32, Rect)
建立 TaskLocation 一個帶有給定顯示 ID 和界限的 a。
[Android.Runtime.Register(".ctor", "(ILandroid/graphics/Rect;)V", "", ApiSince=37)]
public TaskLocation(int displayId, Android.Graphics.Rect bounds);
[<Android.Runtime.Register(".ctor", "(ILandroid/graphics/Rect;)V", "", ApiSince=37)>]
new Android.App.TaskLocation : int * Android.Graphics.Rect -> Android.App.TaskLocation
參數
- displayId
- Int32
- bounds
- Rect
- 屬性
備註
建立一個具有顯示 ID 與界限的 TaskLocation。
Android 參考資料。android.app.TaskLocation.TaskLocation
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
TaskLocation(IntPtr, JniHandleOwnership)
protected TaskLocation(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.TaskLocation : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.TaskLocation
參數
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership