# String.PadLeft Method

.NET Framework 2.0

Right-aligns the characters in this instance, padding on the left with spaces or a specified Unicode character for a specified total length.

## Overload List

Name Description
String.PadLeft (Int32) Right-aligns the characters in this instance, padding with spaces on the left for a specified total length.

Supported by the .NET Compact Framework.

String.PadLeft (Int32, Char) Right-aligns the characters in this instance, padding on the left with a specified Unicode character for a specified total length.

Supported by the .NET Compact Framework.

ADD
Show:
© 2015 Microsoft