Compartilhar via


IVsSccOpenFromSourceControl Interface

Adds items to an enlistment directly from source code control.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<GuidAttribute("A341396A-1B4A-4164-8E6E-BDDC527C861C")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSccOpenFromSourceControl
[GuidAttribute("A341396A-1B4A-4164-8E6E-BDDC527C861C")]
[InterfaceTypeAttribute()]
public interface IVsSccOpenFromSourceControl
[GuidAttribute(L"A341396A-1B4A-4164-8E6E-BDDC527C861C")]
[InterfaceTypeAttribute()]
public interface class IVsSccOpenFromSourceControl
[<GuidAttribute("A341396A-1B4A-4164-8E6E-BDDC527C861C")>]
[<InterfaceTypeAttribute()>]
type IVsSccOpenFromSourceControl =  interface end
public interface IVsSccOpenFromSourceControl

The IVsSccOpenFromSourceControl type exposes the following members.

Methods

  Name Description
Public method AddItemFromSourceControl Adds the specified item or items to the specified project directly from source control.
Public method AddProjectFromSourceControl Adds the specified project to the current solution directly from source control.
Public method GetNamespaceExtensionInformation Retrieves the source control Namespace Extension (NSE) information for use in Open dialog boxes..
Public method OpenSolutionFromSourceControl Opens the specified solution directly from source control, creating a local copy as necessary.

Top

Remarks

An enlistment is the local working copy of a solution and/or project under source control.

Notes to Implementers

This interface is implemented by a source control package to support opening solutions and adding projects and files directly from source control. A source control package can implement this interface if it chooses.

Notes to Callers

This interface is called by the environment when the user is creating an enlistment.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace