共用方式為


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

VCReference Interface

project Overload

Microsoft.VisualStudio.VCProjectEngine Namespace

Other Resources

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