DigitalClock 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| DigitalClock(Context) |
已淘汰.
初始化新的實例。 |
| DigitalClock(Context, IAttributeSet) |
已淘汰.
初始化新的實例。 |
| DigitalClock(IntPtr, JniHandleOwnership) |
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。 |
DigitalClock(Context)
警告
deprecated
初始化新的實例。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
[System.Obsolete("deprecated")]
public DigitalClock(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Widget.DigitalClock : Android.Content.Context -> Android.Widget.DigitalClock
參數
- context
- Context
用於存取應用程式資源與服務的上下文。
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
DigitalClock(Context, IAttributeSet)
警告
deprecated
初始化新的實例。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
[System.Obsolete("deprecated")]
public DigitalClock(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Widget.DigitalClock : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.DigitalClock
參數
- context
- Context
背景
- attrs
- IAttributeSet
屬性集
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
DigitalClock(IntPtr, JniHandleOwnership)
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。
protected DigitalClock(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.DigitalClock : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.DigitalClock
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。