次の方法で共有


ProjectRootElement.CreatePropertyElement(String) Method

Definition

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.

Applies to