Delen via


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

VCCodeEvent Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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