Routines (alphabetical) > Object Classes > File Format Object Classes > IDLffXMLDOMDocument::CreateComment

# IDLffXMLDOMDocument::CreateComment

Syntax | Return Value | Arguments | Keywords | Version History

The IDLffXMLDOMDocument::CreateComment function method creates a comment node that is owned by the document and stores a string in the comment node.

## Syntax

Result = Obj->[IDLffXMLDOMDocument::]CreateComment( String )

## Return Value

Returns an object reference to the new IDLffXMLDOMComment node.

## Arguments

### String

A scalar string to put in the new comment node.

## Keywords

None

## Version History

6.1 | Introduced