共用方式為


SelectedItem.Project Property

Definition

Gets the Project object associated with the SelectedItem object.

public:
 property EnvDTE::Project ^ Project { EnvDTE::Project ^ get(); };
public:
 property EnvDTE::Project ^ Project { EnvDTE::Project ^ get(); };
[System.Runtime.InteropServices.DispId(3)]
public EnvDTE.Project Project { [System.Runtime.InteropServices.DispId(3)] get; }
[<System.Runtime.InteropServices.DispId(3)>]
[<get: System.Runtime.InteropServices.DispId(3)>]
member this.Project : EnvDTE.Project
Public ReadOnly Property Project As Project

Property Value

A Project object.

Attributes

Remarks

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

Applies to