共用方式為


IVsSccOpenFromSourceControl Interface

Definition

Adds items to an enlistment directly from source code control.

public interface class IVsSccOpenFromSourceControl
public interface class IVsSccOpenFromSourceControl
__interface IVsSccOpenFromSourceControl
[System.Runtime.InteropServices.Guid("A341396A-1B4A-4164-8E6E-BDDC527C861C")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSccOpenFromSourceControl
[<System.Runtime.InteropServices.Guid("A341396A-1B4A-4164-8E6E-BDDC527C861C")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSccOpenFromSourceControl = interface
Public Interface IVsSccOpenFromSourceControl
Attributes

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.

Methods

AddItemFromSourceControl(IVsProject, UInt32, UInt32, String[], IntPtr, UInt32, Guid, String, Guid, VSADDRESULT[])

Adds the specified item or items to the specified project directly from source control.

AddProjectFromSourceControl(String)

Adds the specified project to the current solution directly from source control.

GetNamespaceExtensionInformation(Int32, String, String, String)

Retrieves the source control Namespace Extension (NSE) information for use in Open dialog boxes..

OpenSolutionFromSourceControl(String)

Opens the specified solution directly from source control, creating a local copy as necessary.

Applies to