Click or drag to resize

GH_IWriterAddComment Method

Adds a text comment to this chunk. Comments are serialized only if the output flavour is a human readable format. Comments are never deserialized, they are purely for the benefit of the humans reading the file data.

Namespace:  GH_IO.Serialization
Assembly:  GH_IO (in GH_IO.dll)
Syntax
void AddComment(
	string comment_text
)

Parameters

comment_text
Type: SystemString
The content of the comment, text might be altered if it contains invalid characters for a chosen format flavour.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the content text is either null or empty.
See Also