Share via


SourceControl2 Interface

Used to interact with current source control system.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
<GuidAttribute("111522AB-F439-4D85-9A36-1716DA4DA114")> _
Public Interface SourceControl2 _
    Inherits SourceControl
[GuidAttribute("111522AB-F439-4D85-9A36-1716DA4DA114")]
public interface SourceControl2 : SourceControl
[GuidAttribute(L"111522AB-F439-4D85-9A36-1716DA4DA114")]
public interface class SourceControl2 : SourceControl
[<GuidAttribute("111522AB-F439-4D85-9A36-1716DA4DA114")>]
type SourceControl2 =  
    interface 
        interface SourceControl 
    end
public interface SourceControl2 extends SourceControl

The SourceControl2 type exposes the following members.

Properties

  Name Description
Public property DTE Gets the top-level extensibility object.
Public property Parent Gets- the immediate parent object of a SourceControl object.

Top

Methods

  Name Description
Public method CheckOutItem Checks the specified item out of source control.
Public method CheckOutItem2 Checks the specified item out of source control.
Public method CheckOutItems Checks the specified items out of source control.
Public method CheckOutItems2 Checks the specified items out of source control.
Public method ExcludeItem Excludes the specified item from the source control project.
Public method ExcludeItems Excludes the specified items from the specified project.
Public method GetBindings Gets the source control bindings object of the specified project or solution.
Public method IsItemCheckedOut Retrieves a Boolean value that indicates whether the specified item is checked out.
Public method IsItemUnderSCC Retrieves a Boolean value that indicates whether the specified item is under source control.
Public method UndoExcludeItem Include back an item into source code control.
Public method UndoExcludeItems Include back the specified items into source code control.

Top

See Also

Reference

EnvDTE80 Namespace