Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1CheckBox Class / SetError Method / SetError(ICharSequence,Drawable) Method


In This Topic
    SetError(ICharSequence,Drawable) Method
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setError", 
       "(Ljava/lang/CharSequence;Landroid/graphics/drawable/Drawable;)V", 
       "GetSetError_Ljava_lang_CharSequence_Landroid_graphics_drawable_Drawable_Handler")>
    Public Overloads Overridable Sub SetError( _
       ByVal error As Java.Lang.ICharSequence, _
       ByVal icon As Android.Graphics.Drawables.Drawable _
    ) 
    'Usage
     
    
    Dim instance As C1CheckBox
    Dim error As Java.Lang.ICharSequence
    Dim icon As Android.Graphics.Drawables.Drawable
     
    instance.SetError(error, icon)
    [Android.Runtime.Register("setError", 
       "(Ljava/lang/CharSequence;Landroid/graphics/drawable/Drawable;)V", 
       "GetSetError_Ljava_lang_CharSequence_Landroid_graphics_drawable_Drawable_Handler")]
    public virtual void SetError( 
       Java.Lang.ICharSequence error,
       Android.Graphics.Drawables.Drawable icon
    )

    Parameters

    error
    icon
    See Also