共用方式為


TaskPropertyInfo(String, Type, Boolean, Boolean) Constructor

Definition

Encapsulates a list of parameters declared in the UsingTask

public:
 TaskPropertyInfo(System::String ^ name, Type ^ typeOfParameter, bool output, bool required);
public TaskPropertyInfo (string name, Type typeOfParameter, bool output, bool required);
new Microsoft.Build.Framework.TaskPropertyInfo : string * Type * bool * bool -> Microsoft.Build.Framework.TaskPropertyInfo
Public Sub New (name As String, typeOfParameter As Type, output As Boolean, required As Boolean)

Parameters

name
String

Name of the parameter

typeOfParameter
Type

The actual type of the parameter

output
Boolean

True if the parameter is both an output and input parameter. False if the parameter is only an input parameter

required
Boolean

True if the parameter must be supplied to each invocation of the task.

Applies to