Click or drag to resize

Comment Constructor

Creates a new instance of Comment.

Namespace:  Syntactik.DOM.Mapped
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public Comment(
	string value = null,
	Interval valueInterval = null,
	int commentType = 0
)

Parameters

value (Optional)
Type: SystemString
Pair value.
valueInterval (Optional)
Type: Syntactik.DOMInterval
Value Interval.
commentType (Optional)
Type: SystemInt32
Type of the comment: 1 - single-line comment, 2 - multi-line comment.
See Also