ComponentInfo.IconResource Property
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 icon resource identifier to use for this component.
public int IconResource { [Android.Runtime.Register("getIconResource", "()I", "")] get; }
[<get: Android.Runtime.Register("getIconResource", "()I", "")>]
member this.IconResource : int
Property Value
The icon associated with this component.
- Attributes
Remarks
Return the icon resource identifier to use for this component. If the component defines an icon, that is used; else, the application icon is used.
Java documentation for android.content.pm.ComponentInfo.getIconResource()
.
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.