共用方式為


CommandLineToolSwitch.Number Property

Gets or sets the value for integer type switches.

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.Tasks.Xaml
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property Number As Integer
public int Number { get; set; }
public:
property int Number {
    int get ();
    void set (int value);
}
member Number : int with get, set
function get Number () : int 
function set Number (value : int)

Property Value

Type: System.Int32
The value for integer type switches.

.NET Framework Security

See Also

Reference

CommandLineToolSwitch Class

Microsoft.Build.Tasks.Xaml Namespace