Compartilhar via


BuildProperty.Name Property

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Accessor for the property name. This is read-only, so one cannot change the property name once it's set ... your only option is to create a new BuildProperty object. The reason is that BuildProperty objects are often stored in hash tables where the hash function is based on the property name. Modifying the property name of an existing BuildProperty object would make the hash table incorrect.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

The property name.

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to