共用方式為


VCFile.project Property

Gets the VCProject associated with the object.

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

Syntax

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

Property Value

Type: System.Object
A VCProject object.

Implements

VCProjectItem.project

Remarks

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

.NET Framework Security

See Also

Reference

VCFile Interface

project Overload

Microsoft.VisualStudio.VCProjectEngine Namespace

Other Resources

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