共用方式為


ProjectElementContainer.LastChild Property

Definition

Last child, if any, otherwise null. Cannot be set directly; use AppendChild().

public:
 property Microsoft::Build::Construction::ProjectElement ^ LastChild { Microsoft::Build::Construction::ProjectElement ^ get(); };
public Microsoft.Build.Construction.ProjectElement LastChild { get; }
public Microsoft.Build.Construction.ProjectElement LastChild { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.LastChild : Microsoft.Build.Construction.ProjectElement
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.LastChild : Microsoft.Build.Construction.ProjectElement
Public ReadOnly Property LastChild As ProjectElement

Property Value

The last child element, or null if no child element exists.

Attributes

Remarks

Use AppendChild to initialize this property.

Applies to