共用方式為


VersionControlExplorerExt.SelectedItems Property

Get the currently selected items in the Version Control Explorer

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Public ReadOnly Property SelectedItems As VersionControlExplorerItem()
public VersionControlExplorerItem[] SelectedItems { get; }
public:
property array<VersionControlExplorerItem^>^ SelectedItems {
    array<VersionControlExplorerItem^>^ get ();
}
member SelectedItems : VersionControlExplorerItem[] with get
function get SelectedItems () : VersionControlExplorerItem[]

Property Value

Type: array<Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlExplorerItem[]
Returns VersionControlExplorerItem.

.NET Framework Security

See Also

Reference

VersionControlExplorerExt Class

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace