DocumentManager.GetOwnerCaption Method

Gets the caption belonging to the root node.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Function GetOwnerCaption As String
'使用
Dim returnValue As String

returnValue = Me.GetOwnerCaption()
protected string GetOwnerCaption()
protected:
String^ GetOwnerCaption()
protected function GetOwnerCaption() : String

Return Value

Type: System.String

The caption belonging to the root node.

Remarks

This method throws an assertion if no T[:Microsoft.VisualStudio.Package.HierarchyNode] has been assigned to this document manager. It gets the VSHPROPID_Caption property of that node.

Permissions

See Also

Reference

DocumentManager Class

DocumentManager Members

Microsoft.VisualStudio.Package Namespace