Compartir a través de


Project.GetProperty(String) Method

Definition

Get any property in the project that has the specified name, otherwise returns null.

public:
 Microsoft::Build::Evaluation::ProjectProperty ^ GetProperty(System::String ^ name);
public Microsoft.Build.Evaluation.ProjectProperty GetProperty (string name);
member this.GetProperty : string -> Microsoft.Build.Evaluation.ProjectProperty
Public Function GetProperty (name As String) As ProjectProperty

Parameters

name
String

The name of the property to retrieve.

Returns

Any property in the project that has the specified name, or null if no property of that name exists.

Applies to