共用方式為


VCCodeInclude.ProjectItem Property

Gets the ProjectItem object associated with the given object.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'宣告
ReadOnly Property ProjectItem As ProjectItem
    Get
ProjectItem ProjectItem { get; }
property ProjectItem^ ProjectItem {
    ProjectItem^ get ();
}
abstract ProjectItem : ProjectItem
function get ProjectItem () : ProjectItem

Property Value

Type: EnvDTE.ProjectItem
A ProjectItem object.

.NET Framework Security

See Also

Reference

VCCodeInclude Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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