Share via


SourceControl2 Interface

Definition

Used to interact with current source control system.

public interface class SourceControl2 : EnvDTE::SourceControl
public interface class SourceControl2 : EnvDTE::SourceControl
__interface SourceControl2 : EnvDTE::SourceControl
[System.Runtime.InteropServices.Guid("111522AB-F439-4D85-9A36-1716DA4DA114")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface SourceControl2 : EnvDTE.SourceControl
[System.Runtime.InteropServices.Guid("111522AB-F439-4D85-9A36-1716DA4DA114")]
public interface SourceControl2 : EnvDTE.SourceControl
[<System.Runtime.InteropServices.Guid("111522AB-F439-4D85-9A36-1716DA4DA114")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type SourceControl2 = interface
    interface SourceControl
[<System.Runtime.InteropServices.Guid("111522AB-F439-4D85-9A36-1716DA4DA114")>]
type SourceControl2 = interface
    interface SourceControl
Public Interface SourceControl2
Implements SourceControl
Attributes
Implements

Properties

DTE

Gets the top-level extensibility object.

Parent

Gets- the immediate parent object of a SourceControl object.

Methods

CheckOutItem(String)

Checks the specified item out of source control.

CheckOutItem2(String, vsSourceControlCheckOutOptions)

Checks the specified item out of source control.

CheckOutItems(Object[])

Checks the specified items out of source control.

CheckOutItems2(Object[], vsSourceControlCheckOutOptions)

Checks the specified items out of source control.

ExcludeItem(String, String)

Excludes the specified item from the source control project.

ExcludeItems(String, Object[])

Excludes the specified items from the specified project.

GetBindings(String)

Gets the source control bindings object of the specified project or solution.

IsItemCheckedOut(String)

Retrieves a Boolean value that indicates whether the specified item is checked out.

IsItemUnderSCC(String)

Retrieves a Boolean value that indicates whether the specified item is under source control.

UndoExcludeItem(String, String)

Include back an item into source code control.

UndoExcludeItems(String, Object[])

Include back the specified items into source code control.

Applies to