Share via


IXMLDOMDocument2.createAttribute method (String)

This type or member acts as a proxy for a Microsoft XML Core Services (MSXML) object or member. For information about the MSXML object or member that is wrapped by this type or member, see the MSXML SDK. For more information about using MSXML objects or members from managed code, see Working with MSXML5 and System.Xml Using the InfoPath 2003 Object Model.

Namespace:  Microsoft.Office.Interop.InfoPath.Xml
Assembly:  Microsoft.Office.Interop.InfoPath.Xml (in Microsoft.Office.Interop.InfoPath.Xml.dll)

Syntax

'Declaration
Function createAttribute ( _
    name As String _
) As IXMLDOMAttribute
'Usage
Dim instance As IXMLDOMDocument2
Dim name As String
Dim returnValue As IXMLDOMAttribute

returnValue = instance.createAttribute(name)
IXMLDOMAttribute createAttribute(
    string name
)

Parameters

Return value

Type: Microsoft.Office.Interop.InfoPath.Xml.IXMLDOMAttribute

Implements

IXMLDOMDocument.createAttribute(String)

See also

Reference

IXMLDOMDocument2 interface

IXMLDOMDocument2 members

createAttribute overload

Microsoft.Office.Interop.InfoPath.Xml namespace