ProjectRootElement.CreatePropertyElement(String) Method
Definition
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.
Creates a property. Caller must add it to the location of choice in the project.
public:
Microsoft::Build::Construction::ProjectPropertyElement ^ CreatePropertyElement(System::String ^ name);
public Microsoft.Build.Construction.ProjectPropertyElement CreatePropertyElement (string name);
member this.CreatePropertyElement : string -> Microsoft.Build.Construction.ProjectPropertyElement
Public Function CreatePropertyElement (name As String) As ProjectPropertyElement
Parameters
- name
- String
The name of the property.
Returns
The property.
Remarks
Caller must add the property to the location of choice in the project.