共用方式為


VersionControlAnnotateExt Class

Encapsulate the Annotate extensibility object

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlBaseExt
    Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlAnnotateExt

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Public NotInheritable Class VersionControlAnnotateExt _
    Inherits VersionControlBaseExt
public sealed class VersionControlAnnotateExt : VersionControlBaseExt
public ref class VersionControlAnnotateExt sealed : public VersionControlBaseExt
[<Sealed>]
type VersionControlAnnotateExt =  
    class 
        inherit VersionControlBaseExt 
    end
public final class VersionControlAnnotateExt extends VersionControlBaseExt

The VersionControlAnnotateExt type exposes the following members.

Properties

  Name Description
Public property ActiveWindow Get the most recently used annotate tool window. This will return null if there is no active window.
Public property WindowList Returns an array of objects each representing an Annotate tool window.

Top

Methods

  Name Description
Public method AnnotateFile Annotate the specified file.
Public method Equals Determines whether the specified object is equal to the current object. (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.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event SelectionChanged This event is fired when the selection changes in a version control window. (Inherited from VersionControlBaseExt.)
Public event WindowChanged Raised when an annotate window has changed.
Public event WindowClosing Raised when an annotate window is closing.
Public event WindowCreated Raised when an annotate window is created.

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.VisualStudio.TeamFoundation.VersionControl Namespace