共用方式為


IVsHierarchyItem.Text Property

Gets the text caption for the item in the IVsUIHierarchyWindow, corresponding to the VSHPROPID_Caption property from GetProperty.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'宣告
ReadOnly Property Text As String
string Text { get; }

Property Value

Type: System.String
The text caption for the item in the UI hierarchy window.

.NET Framework Security

See Also

Reference

IVsHierarchyItem Interface

Microsoft.VisualStudio.Shell Namespace