AWS SDK for .NET Documentation
EncodeZeroPadding Method (number, maxNumDigits)
AmazonAmazon.SimpleDB.UtilAmazonSimpleDBUtilEncodeZeroPadding(Int32, Int32) Did this page help you?   Yes   No    Tell us about it...
Encodes positive integer value into a string by zero-padding it up to the specified number of digits.
Declaration Syntax
C#
public static string EncodeZeroPadding(
	int number,
	int maxNumDigits
)
Parameters
number (Int32)
positive integer to be encoded
maxNumDigits (Int32)
maximum number of digits in the largest value in the data set
Return Value
A string representation of the zero-padded integer
Remarks
For example, the integer 123 encoded with a 6 digit maximum would be represented as 000123

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)