OAProjectItem<T>.SubProject Property

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

See Also

Reference

OAProjectItem<T> Class

OAProjectItem<T> Members

Microsoft.VisualStudio.Package.Automation Namespace