Compartir a través de


formatIndex Method (Windows CE 5.0)

Send Feedback

Formats the index integer using the specified numerical system.

[Script]

Script Syntax

strValue= oXTLRuntime.formatIndex(lIndex, bstrFormat);

Script Parameters

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

Script Return Value

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

[C/C++]

C/C++ Syntax

HRESULT formatIndex(longlIndex,BSTRbstrFormat,BSTR* pbstrFormattedString);

C/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.

C/C++ Return Values

  • S_OK
    Value returned if successful.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

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.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.