Share via


Comment Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Discussion.Server.Comment

Namespace:  Microsoft.TeamFoundation.Discussion.Server
Assembly:  Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)> _
Public Class Comment
[ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)]
public class Comment
[ClassVisibilityAttribute(ClientVisibility::Public, ClientVisibility::Internal)]
public ref class Comment
[<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Internal)>]
type Comment =  class end
public class Comment

The Comment type exposes the following members.

Constructors

  Name Description
Public method Comment

Top

Properties

  Name Description
Public property Author
Public property CommentId
Public property CommentType
Public property Content
Public property DiscussionId
Public property IsDeleted
Public property ParentCommentId
Public property PublishedDate

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Discussion.Server Namespace