Share via


Reference2.ContainingProject Property

Gets the Project containing the reference.

Namespace:  VSLangProj2
Assembly:  VSLangProj2 (in VSLangProj2.dll)

Syntax

'Declaration
ReadOnly Property ContainingProject As Project
'Usage
Dim instance As Reference2 
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 contains the reference.

Implements

Reference.ContainingProject

Remarks

Use this property to retrieve the Project object that includes the reference.

.NET Framework Security

See Also

Reference

Reference2 Interface

Reference2 Members

ContainingProject Overload

VSLangProj2 Namespace