SelectedItem.Project Property

Gets the Project object associated with the SelectedItem object.

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

Syntax

'Declaration
ReadOnly Property Project As Project
'Usage
Dim instance As SelectedItem 
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

SelectedItem Interface

SelectedItem Members

EnvDTE Namespace

Other Resources

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