共用方式為


IVersionControlProvider.GetSelectedItemsList2 方法

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

語法

'宣告
Function GetSelectedItemsList2 ( _
    useCurrentSelection As Boolean, _
    <OutAttribute> ByRef fileNames As String(), _
    <OutAttribute> ByRef numberOfServerItems As Integer, _
    <OutAttribute> ByRef numberOfCodeBehindItems As Integer, _
    <OutAttribute> ByRef masterFileIndexes As Integer(), _
    <OutAttribute> ByRef explicitFileNames As String() _
) As Integer
int GetSelectedItemsList2(
    bool useCurrentSelection,
    out string[] fileNames,
    out int numberOfServerItems,
    out int numberOfCodeBehindItems,
    out int[] masterFileIndexes,
    out string[] explicitFileNames
)

參數

傳回值

類型:System.Int32
傳回 Int32

.NET Framework 安全性

請參閱

參考

IVersionControlProvider 介面

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間