Click or drag to resize
IComment Interface
All available information on a comment: The comment text, the severity level, the author and time stamp, and for comment threads the comment version.

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
public interface IComment : IMetaDataContainer, 
	ICloneable

The IComment type exposes the following members.

Methods
  NameDescription
Public methodClearMetaData
Removes all key/value pairs from the meta data collection.
(Inherited from IMetaDataContainer.)
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ICloneable.)
Public methodGetMetaData
Returns the metadata value associated with the specified key, or null if no such key exists in the collection.
(Inherited from IMetaDataContainer.)
Public methodMetaDataContainsKey
True if a metadata value with the specified key exists
(Inherited from IMetaDataContainer.)
Public methodRemoveMetaData
Removes the metadata key/value pair with the specified key from the collection. No changes are made if the collection does not contain such a key.
(Inherited from IMetaDataContainer.)
Public methodSetMetaData

Sets the value of the specified metadata key.

If the key already exists in the collection, its value gets overwritten.

(Inherited from IMetaDataContainer.)
Top
Properties
  NameDescription
Public propertyAuthor
Name of person or system that entered the comment
Public propertyDate
Time at which the comment was created or last edited
Public propertyDateSpecified
Public propertyHasMetaData
True if there is any metadata in the container
(Inherited from IMetaDataContainer.)
Public propertyMetaData
Enumerator for the metadata key/value pairs.
(Inherited from IMetaDataContainer.)
Public propertyMetaDataCount
The number of meta data key/value pairs in the container
(Inherited from IMetaDataContainer.)
Public propertySeverity
Indication of severity of the issue for which the comment has been added
Public propertyText
The text associated with this comment
Public propertyVersion
Comments in a ICommentProperties collection are assigned incremented version numbers to better be able to track comment threads. The version number should be of the form "1.0", "2.0" etc. for compatibility with TRADOS and SDLX.
Top
Remarks

The comment properties have been explicitly designed to match the commenting features available for TTX and ITD.

See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments