XMLNode.Attributes Property
Word Developer Reference |
Returns an XMLNodes collection that represents the attributes for the specified element.
Syntax
expression.Attributes
expression Required. A variable that represents a XMLNode object.
Remarks
All XMLNode objects in the XMLNodes collection returned by using the Attributes property have a NodeType property value of wdXMLNodeAttribute.
Example
The following example adds the author attribute to the book element in the active document and then sets the value of the attribute.
Visual Basic for Applications |
---|
|
See Also