Preference.SetIcon(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.
Sets the icon for this Preference with a resource ID.
[Android.Runtime.Register("setIcon", "(I)V", "GetSetIcon_IHandler")]
public virtual void SetIcon (int iconResId);
[<Android.Runtime.Register("setIcon", "(I)V", "GetSetIcon_IHandler")>]
abstract member SetIcon : int -> unit
override this.SetIcon : int -> unit
Parameters
- iconResId
- Int32
the icon as a resource ID
- Attributes
Remarks
Sets the icon for this Preference with a resource ID.
Java documentation for android.preference.Preference.setIcon(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.