共用方式為


LegacyComment Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Discussion.Server.LegacyComment

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

Syntax

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

The LegacyComment type exposes the following members.

Constructors

  Name Description
Public method LegacyComment

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 the default hash function. (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 ToDiscussionComment
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