Resources.GetIntArray(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the int array associated with a particular resource ID.
[Android.Runtime.Register("getIntArray", "(I)[I", "GetGetIntArray_IHandler")]
public virtual int[] GetIntArray (int id);
[<Android.Runtime.Register("getIntArray", "(I)[I", "GetGetIntArray_IHandler")>]
abstract member GetIntArray : int -> int[]
override this.GetIntArray : int -> int[]
Parameters
- id
- Int32
The desired resource identifier, as generated by the aapt tool. This integer encodes the package, type, and resource entry. The value 0 is an invalid identifier.
Returns
The int array associated with the resource.
- Attributes
Exceptions
Throws NotFoundException if the given ID does not exist.
Remarks
Return the int array associated with a particular resource ID.
Java documentation for android.content.res.Resources.getIntArray(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.