IPropertiesFactoryCreateComment Method |
Creates a new comment with the specified properties.
Namespace: Sdl.FileTypeSupport.Framework.NativeApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2508.0)
Syntax IComment CreateComment(
string text,
string author,
Severity severity
)
Function CreateComment (
text As String,
author As String,
severity As Severity
) As IComment
IComment^ CreateComment(
String^ text,
String^ author,
Severity severity
)
abstract CreateComment :
text : string *
author : string *
severity : Severity -> IComment
Parameters
- text
- Type: SystemString
Textual content of the comment - author
- Type: SystemString
Name of user or system that created the comment - severity
- Type: Sdl.FileTypeSupport.Framework.NativeApiSeverity
Severity level of the comment
Return Value
Type:
IComment
A new comment that can be added to a
ICommentProperties collection.
The date of the comment has been set to
Now.
See Also Comments