ViewSwitcher 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ViewSwitcher(Context) |
建立一個新的空 ViewSwitcher。 |
| ViewSwitcher(Context, IAttributeSet) |
為給定上下文及指定屬性建立一個新的空 ViewSwitcher。 |
| ViewSwitcher(IntPtr, JniHandleOwnership) |
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。 |
ViewSwitcher(Context)
建立一個新的空 ViewSwitcher。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public ViewSwitcher(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Widget.ViewSwitcher : Android.Content.Context -> Android.Widget.ViewSwitcher
參數
- context
- Context
應用程式環境
- 屬性
備註
建立一個新的空 ViewSwitcher。
的 android.widget.ViewSwitcher.ViewSwitcher(android.content.Context)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ViewSwitcher(Context, IAttributeSet)
為給定上下文及指定屬性建立一個新的空 ViewSwitcher。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public ViewSwitcher(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.ViewSwitcher : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.ViewSwitcher
參數
- context
- Context
應用程式環境
- attrs
- IAttributeSet
屬性集合
- 屬性
備註
為給定上下文及指定屬性建立一個新的空 ViewSwitcher。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ViewSwitcher(IntPtr, JniHandleOwnership)
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。
protected ViewSwitcher(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.ViewSwitcher : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.ViewSwitcher
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。