ProjectElementContainer.FirstChild Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
First child, if any, otherwise null. Cannot be set directly; use PrependChild().
public:
property Microsoft::Build::Construction::ProjectElement ^ FirstChild { Microsoft::Build::Construction::ProjectElement ^ get(); };
C#
public Microsoft.Build.Construction.ProjectElement FirstChild { get; }
C#
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
The first child element, or null
if no child element exists.
- Attributes
Use PrependChild to initialize this property.
Product | Versions |
---|---|
MSBuild | 15, 16, 17 |
MSBuild (.NET Core) | 15, 16, 17 |