Adds a new XmlComment to the parent node with the specified parameters.

Namespace: FlightPlan
Assembly: FlightPlanXML (in FlightPlanXML.dll) Versión: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static XmlComment AddComment(
	XmlElement parent,
	string textComment
)
Visual Basic
Public Shared Function AddComment ( _
	parent As XmlElement, _
	textComment As String _
) As XmlComment
Visual C++
public:
static XmlComment^ AddComment(
	XmlElement^ parent, 
	String^ textComment
)

Parameters

parent
Type: System.Xml..::..XmlElement
The parent node.
textComment
Type: System..::..String
The text content of the comment.

Return Value

The created and appended child node.

See Also