Share via


formatIndex Method (Windows Embedded CE 6.0)

1/6/2010

Formats the index integer using the specified numerical system.

Script Syntax

            strValue = oXTLRuntime.formatIndex(lIndex, bstrFormat);

Remarks

Ee503512.collapse(en-US,WinEmbedded.60).gifScript Parameters

  • lIndex
    Long integer. Integer value that is to be converted.
  • bstrFormat
    String. Specified numbering system. See Remarks.

Ee503512.collapse(en-US,WinEmbedded.60).gifScript Return Value

String. Returns the integer value formatted using the specified numbering system.

Ee503512.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

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

Remarks

Ee503512.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

  • lIndex
    [in] Integer value that is to be converted.
  • bstrFormat
    [in] Numbering system. See Remarks section.
  • pbstrFormattedString
    [out, retval] Integer value formatted using the specified numbering system.

Ee503512.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.

Ee503512.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

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.

See Also

Reference

XSLT Methods