Partager via


ProjectInstance.GetProperty(String) Method

Definition

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

public:
 virtual Microsoft::Build::Execution::ProjectPropertyInstance ^ GetProperty(System::String ^ name);
public Microsoft.Build.Execution.ProjectPropertyInstance GetProperty (string name);
abstract member GetProperty : string -> Microsoft.Build.Execution.ProjectPropertyInstance
override this.GetProperty : string -> Microsoft.Build.Execution.ProjectPropertyInstance
Public Function GetProperty (name As String) As ProjectPropertyInstance

Parameters

name
String

The name of the property to retrieve.

Returns

The property with the given name, or null if no property exists with that name.

Applies to