Compartilhar via


ProjectCollection.GetGlobalProperty(String) Method

Definition

Get any global property on the project collection that has the specified name, otherwise returns null.

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

Parameters

name
String

The name of the property to be retrieved.

Returns

Any global property on the project collection that has the specified name; otherwise returns null.

Applies to