ProjectInstance.GetProperty(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 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.