ArrayAdapter.CreateFromResource(Context, Int32, Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
外部リソースから新しい ArrayAdapter を作成します。
[Android.Runtime.Register("createFromResource", "(Landroid/content/Context;II)Landroid/widget/ArrayAdapter;", "")]
public static Android.Widget.ArrayAdapter CreateFromResource (Android.Content.Context context, int textArrayResId, int textViewResId);
[<Android.Runtime.Register("createFromResource", "(Landroid/content/Context;II)Landroid/widget/ArrayAdapter;", "")>]
static member CreateFromResource : Android.Content.Context * int * int -> Android.Widget.ArrayAdapter
パラメーター
- context
- Context
アプリケーションの環境。
- textArrayResId
- Int32
データ ソースとして使用する配列の識別子。
- textViewResId
- Int32
ビューの作成に使用されるレイアウトの識別子。
戻り値
ArrayAdapter<CharSequence>。
- 属性
注釈
外部リソースから新しい ArrayAdapter を作成します。 配列の内容は を介して android.content.res.Resources#getTextArray(int)
取得されます。
の android.widget.ArrayAdapter.createFromResource(android.content.Context, int, int)
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。