Gets the project if the tem is the root of a subproject.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable ReadOnly Property SubProject As Project
'使用
Dim instance As OAProjectItem
Dim value As Project
value = instance.SubProject
public virtual Project SubProject { get; }
public:
virtual property Project^ SubProject {
Project^ get ();
}
public function get SubProject () : Project
Property Value
Type: Project
When implemented in derived classes, Project if the item is the root of a subproject.
Implements
ProjectItemSubProject()
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.