As the title says, how can I achieve this in VB.NET without using VB6 compatibility library?

Code:
maskedTextBox.Text = VB6.Format(maskedTextBox.Text, "###000")
i.e add leading zeroes?