When implemented in a derived class, gets the project item for the nested project.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable ReadOnly Property ParentProjectItem As ProjectItem
'使用
Dim instance As OAProject
Dim value As ProjectItem
value = instance.ParentProjectItem
public virtual ProjectItem ParentProjectItem { get; }
public:
virtual property ProjectItem^ ParentProjectItem {
ProjectItem^ get ();
}
public function get ParentProjectItem () : ProjectItem
Property Value
Type: ProjectItem
ProjectItem.
Implements
ProjectParentProjectItem()
Remarks
By default returns a null reference (Nothing in Visual Basic).
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.
See Also
Reference
Microsoft.VisualStudio.Package.Automation Namespace
ParentProjectItem()