formatIndex Method

Formats the index integer using the specified numerical system.

strValue = oXTLRuntime.formatIndex(lIndex, bstrFormat);

HRESULT formatIndex(
  long lIndex,
  BSTR bstrFormat,
  BSTR* pbstrFormattedString
);

General Remarks

The following table shows the formats supported by the specified numerical system.

Number format Meaning
1 Standard numbering system
01 Standard numbering with leading zeroes
A Uppercase sequence: A–Z, AA–ZZ
a Lowercase sequence: a–z, aa–zz
I Uppercase Roman numerals: I, II, III, IV, ...
I Lowercase Roman numerals: i, ii, iii, iv, ...

This method applies to the following interface:

IXTLRuntime.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.