Compartilhar via


addAttributeFromIndex Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method adds an attribute, whose value is equal to the indexed attribute in the input attributes object, to the end of the list.

Syntax

HRESULT addAttributeFromIndex(
  VARIANT varAtts,
  int nIndex
);

Parameters

  • varAtts
    [in] Variant type.
  • nIndex
    [in] Attribute's index value.

Return Value

  • S_OK
    Returned if no errors are reported.
  • E_FAIL
    Returned if index is out of range.

Requirements

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

See Also

Reference

IMXAttributes