Share via


VCCodeElement.Project Property

Gets the Project object associated with the object.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'Declaration
ReadOnly Property Project As Project
'Usage
Dim instance As VCCodeElement 
Dim value As Project 

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

Property Value

Type: EnvDTE.Project
A Project object.

Remarks

The Project property represents the project to which the item belongs.

.NET Framework Security

See Also

Reference

VCCodeElement Interface

VCCodeElement Members

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples