Click here to Skip to main content
15,896,379 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please let me know what these statements mean:

For Each tag As HtmlTag In tags

        insertTextBuilder.Remove(0, insertTextBuilder.Length)
        insertTextBuilder.AppendFormat("<{0}", tag.Name)


Append format??? textbuilder??
Posted
Updated 23-Aug-10 7:48am
v4

1 solution

It would seem that insertTextBuilder has a type of StringBuilder. When doing string manipulations in .Net, StringBuilders are much more efficient than working directly with strings. Knowing the class of insertTextBuilder should make it easy to look up Remove and AppendFormat in your help files.
 
Share this answer
 
Comments
Abhinav S 23-Aug-10 11:17am    
Reason for my vote of 5
Nice and accurate answer!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900