Share via


OAProjectItem.SubProject Property

If the project item is the root of a subproject, then the SubProject property returns the Project object for the subproject.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Automation
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property SubProject As Project
'Usage
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: EnvDTE.Project

Implements

ProjectItem.SubProject

.NET Framework Security

See Also

Reference

OAProjectItem Class

OAProjectItem Members

Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace