Compartir a través de


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
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

SelectedItem Interface

EnvDTE Namespace

Other Resources

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