共用方式為


Sys.StringBuilder clear Method

Clears the contents of the Sys.StringBuilder instance.

var stringBuilderVar = new Sys.StringBuilder( string );
stringBuilderVar.clear();

Remarks

Use the clear method to clear the StringBuilder instance of its current contents.

See Also

Reference

Sys.StringBuilder Class

Other Resources

Language Reference