Context.ObtainStyledAttributes メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| ObtainStyledAttributes(Int32[]) |
このコンテキストのテーマでスタイル設定された属性情報を取得します。 |
| ObtainStyledAttributes(IAttributeSet, Int32[]) |
このコンテキストのテーマでスタイル設定された属性情報を取得します。 |
| ObtainStyledAttributes(Int32, Int32[]) |
このコンテキストのテーマでスタイル設定された属性情報を取得します。 |
| ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32) |
このコンテキストのテーマでスタイル設定された属性情報を取得します。 |
ObtainStyledAttributes(Int32[])
このコンテキストのテーマでスタイル設定された属性情報を取得します。
[Android.Runtime.Register("obtainStyledAttributes", "([I)Landroid/content/res/TypedArray;", "")]
public Android.Content.Res.TypedArray ObtainStyledAttributes(int[] attrs);
[<Android.Runtime.Register("obtainStyledAttributes", "([I)Landroid/content/res/TypedArray;", "")>]
member this.ObtainStyledAttributes : int[] -> Android.Content.Res.TypedArray
パラメーター
- attrs
- Int32[]
この値を null にすることはできません。
返品
この値を null にすることはできません。
- 属性
注釈
このコンテキストのテーマでスタイル設定された属性情報を取得します。 詳細については、android.content.res.Resources.Theme#obtainStyledAttributes(int[]) を参照してください。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
ObtainStyledAttributes(IAttributeSet, Int32[])
このコンテキストのテーマでスタイル設定された属性情報を取得します。
[Android.Runtime.Register("obtainStyledAttributes", "(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;", "")]
public Android.Content.Res.TypedArray ObtainStyledAttributes(Android.Util.IAttributeSet? set, int[] attrs);
[<Android.Runtime.Register("obtainStyledAttributes", "(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;", "")>]
member this.ObtainStyledAttributes : Android.Util.IAttributeSet * int[] -> Android.Content.Res.TypedArray
パラメーター
- set
- IAttributeSet
この値は null である可能性があります。
- attrs
- Int32[]
この値を null にすることはできません。
返品
この値を null にすることはできません。
- 属性
注釈
このコンテキストのテーマでスタイル設定された属性情報を取得します。 詳細については、android.content.res.Resources.Theme#obtainStyledAttributes(AttributeSet, int[], int, int) を参照してください。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
ObtainStyledAttributes(Int32, Int32[])
このコンテキストのテーマでスタイル設定された属性情報を取得します。
[Android.Runtime.Register("obtainStyledAttributes", "(I[I)Landroid/content/res/TypedArray;", "")]
public Android.Content.Res.TypedArray ObtainStyledAttributes(int resid, int[] attrs);
[<Android.Runtime.Register("obtainStyledAttributes", "(I[I)Landroid/content/res/TypedArray;", "")>]
member this.ObtainStyledAttributes : int * int[] -> Android.Content.Res.TypedArray
パラメーター
- resid
- Int32
スタイルを提供するリソース識別子。
- attrs
- Int32[]
この値を null にすることはできません。
返品
この値を null にすることはできません。
- 属性
例外
注釈
このコンテキストのテーマでスタイル設定された属性情報を取得します。 詳細については、android.content.res.Resources.Theme#obtainStyledAttributes(int, int[]) を参照してください。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32)
このコンテキストのテーマでスタイル設定された属性情報を取得します。
[Android.Runtime.Register("obtainStyledAttributes", "(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;", "")]
public Android.Content.Res.TypedArray ObtainStyledAttributes(Android.Util.IAttributeSet? set, int[] attrs, int defStyleAttr, int defStyleRes);
[<Android.Runtime.Register("obtainStyledAttributes", "(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;", "")>]
member this.ObtainStyledAttributes : Android.Util.IAttributeSet * int[] * int * int -> Android.Content.Res.TypedArray
パラメーター
- set
- IAttributeSet
この値は null である可能性があります。
- attrs
- Int32[]
この値を null にすることはできません。
- defStyleAttr
- Int32
既定のスタイルを提供するテーマ属性。
- defStyleRes
- Int32
既定のスタイル リソース。
返品
この値を null にすることはできません。
- 属性
注釈
このコンテキストのテーマでスタイル設定された属性情報を取得します。 詳細については、android.content.res.Resources.Theme#obtainStyledAttributes(AttributeSet, int[], int, int) を参照してください。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。