DiscussionPosition Class

Position of the discussion in a file.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Discussion.Client.DiscussionPosition

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

Syntax

'Declaration
Public NotInheritable Class DiscussionPosition
public sealed class DiscussionPosition
public ref class DiscussionPosition sealed
[<Sealed>]
type DiscussionPosition =  class end
public final class DiscussionPosition

The DiscussionPosition type exposes the following members.

Constructors

  Name Description
Public method DiscussionPosition Constructs a discussion position instance.

Top

Properties

  Name Description
Public property EndCharPosition Character number of the end position.
Public property EndLine Line number of the end position.
Public property PositionContext Any other metadata we need about the comment to re-create and position it correctly.
Public property StartCharPosition Character number of the start position.
Public property StartLine Line number of the start position.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (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.)
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.Client Namespace