IGeneratedTask.GetPropertyValue(TaskPropertyInfo) 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.
Gets the property value.
public:
System::Object ^ GetPropertyValue(Microsoft::Build::Framework::TaskPropertyInfo ^ property);
public object GetPropertyValue (Microsoft.Build.Framework.TaskPropertyInfo property);
abstract member GetPropertyValue : Microsoft.Build.Framework.TaskPropertyInfo -> obj
Public Function GetPropertyValue (property As TaskPropertyInfo) As Object
Parameters
- property
- TaskPropertyInfo
The property to get.
Returns
The value of the property, the value's type will match the type given by PropertyType.
Remarks
MSBuild calls this method after executing the task to get output parameters. All exceptions from this method will be caught in the taskExecution host and logged as a fatal task error