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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2