共用方式為


ProjectUsingTaskParameterElement.ParameterType Property

Gets or sets the Type attribute of this inline 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.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Property ParameterType As String
public string ParameterType { get; set; }
public:
property String^ ParameterType {
    String^ get ();
    void set (String^ value);
}
member ParameterType : string with get, set
function get ParameterType () : String 
function set ParameterType (value : String)

Property Value

Type: System.String
Returns the value of the Type attribute. Returns an empty string if the attribute is not present.

Remarks

Indicates the type of the parameter. The meaning of a type depends on the task factory of this inline task.

.NET Framework Security

See Also

Reference

ProjectUsingTaskParameterElement Class

Microsoft.Build.Construction Namespace