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 As Java.Lang.ICharSequence, _
ByVal As Android.Graphics.Drawables.Drawable _
)
'Usage
Dim instance As C1TextBox
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 ,
Android.Graphics.Drawables.Drawable
)
Parameters
- error
- icon
See Also