共用方式為


IVersionControlService.BrowseForProject 方法

命名空間:  Microsoft.VisualStudio.TeamFoundation.VersionControl
組件:  Microsoft.VisualStudio.TeamFoundation.VersionControl (在 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 中)

語法

'宣告
Function BrowseForProject ( _
    solutionName As String, _
    localPath As String, _
    isSolution As Boolean, _
    forceBrowse As Boolean, _
    <OutAttribute> ByRef repositoryPath As String, _
    <OutAttribute> ByRef dialogResult As Integer _
) As Integer
int BrowseForProject(
    string solutionName,
    string localPath,
    bool isSolution,
    bool forceBrowse,
    out string repositoryPath,
    out int dialogResult
)

參數

傳回值

類型:System.Int32
傳回 Int32

.NET Framework 安全性

請參閱

參考

IVersionControlService 介面

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間