Share via


CodeFolder.ContainingProject Property

Gets a reference to the project in the DTE object that contains this code folder.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

'Declaration
ReadOnly Property ContainingProject As Project
'Usage
Dim instance As CodeFolder 
Dim value As Project 

value = instance.ContainingProject
Project ContainingProject { get; }
property Project^ ContainingProject {
    Project^ get ();
}
function get ContainingProject () : Project

Property Value

Type: EnvDTE.Project
A Project object that can be cast to a VSWebSite object.

.NET Framework Security

See Also

Reference

CodeFolder Interface

CodeFolder Members

VsWebSite Namespace

Project

VSWebSite

Other Resources

Referencing Automation Assemblies and the DTE2 Object