Поделиться через


SourceControl Interface

Used to interact with current source control system.

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

Syntax

'Declaration
<GuidAttribute("F1DDC2C2-DF76-4EBB-9DE8-48AD2557062C")> _
Public Interface SourceControl
[GuidAttribute("F1DDC2C2-DF76-4EBB-9DE8-48AD2557062C")]
public interface SourceControl
[GuidAttribute(L"F1DDC2C2-DF76-4EBB-9DE8-48AD2557062C")]
public interface class SourceControl
[<GuidAttribute("F1DDC2C2-DF76-4EBB-9DE8-48AD2557062C")>]
type SourceControl =  interface end
public interface SourceControl

The SourceControl 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 CheckOutItems 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 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.

Top

See Also

Reference

EnvDTE Namespace