Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The IMXAttributesinterface complements the implementation of the ISAXAttributesinterface, allowing you to create and edit, not just query, attribute collections. The following coclasses are implemented for ISAXAttributesand IMXAttributes:
-
SAXAttributes(version-independent)
-
SAXAttributes30(the version-dependent class for the
Microsoft® XML Parser 3.0)
Note: |
---|
Coclasses define a class to the Component Object Model (COM). The coclass definitions include a list of interfaces supported by COM objects created from this class. |
This implementation of the IMXAttributesinterface returns what is put inside. Because the ISAXAttributesimplementation cannot be sure which implementation is provided, it cannot be sure of the validity of attributes. The requirements of different applications may be different. For this reason, the implementation of the coclass does not enforce any assumption about input information, accepting it whenever possible.
The interface is used for one of the following actions:
- To take a persistent snapshot of an attribute.
- To construct or modify an attribute's object in a SAX2 (Simple
API for XML) driver or filter.
The following table shows the methods for this interface.
Method | Description |
---|---|
This method adds an attribute to the end of the list. |
|
This method adds an attribute, whose value is equal to the indexed attribute in the input attributes object, to the end of the list. |
|
This method clears the attribute list for re-use. |
|
This method removes an attribute from the list. |
|
This method sets an attribute in the list. |
|
This method copies all existing attributes of a collection to a specified object. |
|
This method sets the local name of a specific attribute. |
|
This method sets the qualified name of a specific attribute. |
|
This method sets the type of a specific attribute. |
|
This method sets the namespace Universal Resource Identifier (URI) of a specific attribute. |
|
This method sets the value of a specific attribute. |
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 |