Project.GetPropertyValue(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 the unescaped value of a property in this project, or an empty string if it does not exist.
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. That makes it easier to use. To find out if a property is set at all in the project, use GetProperty(name).