TaskPropertyInfo Constructor
Encapsulates a list of parameters declared in the task.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Framework
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
typeOfParameter As Type, _
output As Boolean, _
required As Boolean _
)
public TaskPropertyInfo(
string name,
Type typeOfParameter,
bool output,
bool required
)
public:
TaskPropertyInfo(
String^ name,
Type^ typeOfParameter,
bool output,
bool required
)
new :
name:string *
typeOfParameter:Type *
output:bool *
required:bool -> TaskPropertyInfo
public function TaskPropertyInfo(
name : String,
typeOfParameter : Type,
output : boolean,
required : boolean
)
Parameters
name
Type: System.StringThe name of the parameter
typeOfParameter
Type: System.TypeThe type of the parameter
output
Type: System.BooleanTrue if the parameter is both an output and an input parameter. False if the parameter is only an input parameter.
required
Type: System.BooleanTrue if the parameter must be supplied to each invocation of the task.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.