語言

Resources.GetTextArray(Int32) 方法

定義

回傳與特定資源 ID 相關的樣式文字陣列。

public string[] GetTextArray(int id);
member this.GetTextArray : int -> string[]

參數

id
Int32

由 aapt 工具產生的目標資源識別碼。 此整數編碼套件、類型及資源條目。 值 0 是無效的識別碼。

傳回

String[]

與資源相關的樣式文字陣列。

備註

回傳與特定資源 ID 相關的樣式文字陣列。

Java 文件 android.content.res.Resources.getTextArray(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於