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
Get
'Usage
Dim instance As OAProjectItem
Dim value As Project
value = instance.SubProject
public virtual Project SubProject { get; }
public:
virtual property Project^ SubProject {
Project^ get ();
}
function get SubProject () : Project
abstract SubProject : Project
override SubProject : Project
Property Value
Type: EnvDTE.Project
This method returns null.
Implements
.NET Framework Security
- 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.Data.Schema.Project.Automation Namespace