setAttributes Method

This method copies all existing attributes of a collection to a specified object.

HRESULT setAttributes(
  IMXAttributes* varAtts
);

Parameters

  • varAtts
    Variant attribute collection.

Return Values

  • S_OK
    Returned if no errors are reported.

Remarks

It may be more efficient to re-use an existing object rather than allocating a new one.

Requirements

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

See Also

IMXAttributes Interface

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.