Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Clear() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SuperEditBase instance.Clear() |
C# | |
---|---|
public virtual void Clear() |
To remove the entire contents of the control, select the contents and then use the Clear method, or use the ClearAll method.
This method will not have an effect if you select the entire contents and call the method and the control's AllowNull property is set to false.
C# | Copy Code |
---|---|
control.Clear(); |
Visual Basic | Copy Code |
---|---|
control.Clear() |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8