Compartilhar via


addAttributeFromIndex Method (Compact 2013)

3/26/2014

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

See Also

Reference

IMXAttributes