Project.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 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.