Validate the passed comment.

Namespace: Tangosol.Run.Xml
Assembly: Coherence (in Coherence.dll) Version: 12.1.2.0 (12.1.2.0)

Syntax

C#
public static bool IsCommentValid(
	string comment
)

Parameters

comment
Type: System..::..String
The XML comment.

Return Value

true if the comment is valid, false otherwise.

Remarks

Comments may not contain "--". See the XML specification 1.0 2ed section 2.5.

See Also