다음을 통해 공유


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

  • typeOfParameter
    Type: System.Type

    The type of the parameter

  • output
    Type: System.Boolean

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

  • required
    Type: System.Boolean

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

.NET Framework Security

See Also

Reference

TaskPropertyInfo Class

Microsoft.Build.Framework Namespace