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
Project ContainingProject { get; }
property Project^ ContainingProject {
    Project^ get ();
}
abstract ContainingProject : Project with get
function get ContainingProject () : Project

Property Value

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

.NET Framework Security

See Also

Reference

CodeFolder Interface

VsWebSite Namespace

VSWebSite

Other Resources

Referencing Automation Assemblies and the DTE2 Object