共用方式為


CommandLineToolSwitch.DisplayName Property

Gets or sets the display name of the switch.

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 DisplayName As String
public string DisplayName { get; set; }
public:
property String^ DisplayName {
    String^ get ();
    void set (String^ value);
}
member DisplayName : string with get, set
function get DisplayName () : String 
function set DisplayName (value : String)

Property Value

Type: System.String
The display name of the switch.

.NET Framework Security

See Also

Reference

CommandLineToolSwitch Class

Microsoft.Build.Tasks.Xaml Namespace