共用方式為


VersionControlExplorerExt.CurrentFolderItem Property

Get the currently selected folder 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 CurrentFolderItem As VersionControlExplorerItem
public VersionControlExplorerItem CurrentFolderItem { get; }
public:
property VersionControlExplorerItem^ CurrentFolderItem {
    VersionControlExplorerItem^ get ();
}
member CurrentFolderItem : VersionControlExplorerItem with get
function get CurrentFolderItem () : VersionControlExplorerItem

Property Value

Type: Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlExplorerItem
folder item or null

.NET Framework Security

See Also

Reference

VersionControlExplorerExt Class

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace