ProjectCollection.GetGlobalProperty(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.