共用方式為


VCProject.Parent Property

Gets the immediate parent object.

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

Syntax

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

Property Value

Type: System.Object
The parent object.

Implements

VCProjectItem.Parent

Remarks

The Parent property returns the immediate parent to the object or collection.

.NET Framework Security

See Also

Reference

VCProject Interface

Parent Overload

Microsoft.VisualStudio.VCProjectEngine Namespace

Other Resources

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