IXMLDOMDocument2.createComment 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.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Function createComment ( _
    data As String _
) As IXMLDOMComment
'Usage
Dim instance As IXMLDOMDocument2
Dim data As String
Dim returnValue As IXMLDOMComment

returnValue = instance.createComment(data)
IXMLDOMComment createComment(
    string data
)

Parameters

Return value

Type: Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMComment

Implements

IXMLDOMDocument.createComment(String)

See also

Reference

IXMLDOMDocument2 interface

IXMLDOMDocument2 members

createComment overload

Microsoft.Office.Interop.InfoPath.SemiTrust namespace