Project.GetPropertyValue(String) Method

Definition

Gets the value of the given property in this project.

public:
 System::String ^ GetPropertyValue(System::String ^ name);
public string GetPropertyValue (string name);
member this.GetPropertyValue : string -> string
Public Function GetPropertyValue (name As String) As String

Parameters

name
String

The name of the property whose value is retrieved.

Returns

The value of the given property in this project, or an empty string if no property of that name exists. Escape sequences are converted before returning the string.

Remarks

A property with a value of empty string and no property at all are not distinguished between by this method. To determine if a property is set at all in the project, use GetProperty(name).

Applies to