Partilhar via


ProjectElementContainer.FirstChild Property

Definition

First child, if any, otherwise null. Cannot be set directly; use PrependChild().

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

Property Value

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

Attributes

Remarks

Use PrependChild to initialize this property.

Applies to