Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

String.PadLeft Method

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

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.

Community Additions

Show:
© 2016 Microsoft