共用方式為


VersionControlLabelDocument.SelectedItems 屬性

在標籤文件視窗中選取的項目。

這些項目可能是來源從左邊的 TreeView 或右邊鍵盤焦點的 ListView,根據或之前。

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

語法

'宣告
Public ReadOnly Property SelectedItems As VersionControlLabelDocumentItem()
public VersionControlLabelDocumentItem[] SelectedItems { get; }

屬性值

類型:array<Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocumentItem[]
傳回 VersionControlLabelDocumentItem

.NET Framework 安全性

請參閱

參考

VersionControlLabelDocument 類別

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間