Comment Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a comment which is one of potentially many in a comment thread.
[System.Runtime.Serialization.DataContract]
public class Comment : Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlSecuredObject
type Comment = class
inherit VersionControlSecuredObject
Public Class Comment
Inherits VersionControlSecuredObject
- Inheritance
- Attributes
Constructors
| Comment() |
Properties
| Author |
The author of the comment. |
| CommentType |
The comment type at the time of creation. |
| Content |
The comment content. |
| Id |
The comment ID. IDs start at 1 and are unique to a pull request. |
| IsDeleted |
Whether or not this comment was soft-deleted. |
| LastContentUpdatedDate |
The date the comment's content was last updated. |
| LastUpdatedDate |
The date the comment was last updated. |
| Links |
Links to other related objects. |
| ParentCommentId |
The ID of the parent comment. This is used for replies. |
| PublishedDate |
The date the comment was first published. |
| UsersLiked |
A list of the users who have liked this comment. |
Methods
| SetSecuredObject(ISecuredObject) | (Inherited from VersionControlSecuredObject) |
Explicit Interface Implementations
| ISecuredObject.GetToken() | (Inherited from VersionControlSecuredObject) |
| ISecuredObject.NamespaceId | (Inherited from VersionControlSecuredObject) |
| ISecuredObject.RequiredPermissions | (Inherited from VersionControlSecuredObject) |