OAProjectItem.ContainingProject Property
Gets the project hosting the ProjectItem.
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 ContainingProject As Project
Get
'Usage
Dim instance As OAProjectItem
Dim value As Project
value = instance.ContainingProject
public virtual Project ContainingProject { get; }
public:
virtual property Project^ ContainingProject {
Project^ get ();
}
function get ContainingProject () : Project
abstract ContainingProject : Project
override ContainingProject : Project
Property Value
Type: EnvDTE.Project
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