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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.