OANavigableProjectItems.ContainingProject Property
Gets the project hosting the project item or items.
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 OANavigableProjectItems
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
ProjectItems.ContainingProject
.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
OANavigableProjectItems Members
Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace