CodeImport.ProjectItem Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ProjectItem object associated with the CodeElement object.
public:
 property EnvDTE::ProjectItem ^ ProjectItem { EnvDTE::ProjectItem ^ get(); };public:
 property EnvDTE::ProjectItem ^ ProjectItem { EnvDTE::ProjectItem ^ get(); };[System.Runtime.InteropServices.DispId(4)]
public EnvDTE.ProjectItem ProjectItem { [System.Runtime.InteropServices.DispId(4)] [System.Runtime.InteropServices.TypeLibFunc(1024)] get; }[<System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.ProjectItem : EnvDTE.ProjectItemPublic ReadOnly Property ProjectItem As ProjectItemProperty Value
A ProjectItem object.
Implements
- Attributes
Remarks
Note
The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same.