Partager via


IGeneratedTask.GetPropertyValue(TaskPropertyInfo) Method

Definition

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

Applies to