Compartir a través de


Rule.CommandLine Property

When this Rule represents a Build Customization, this field represents the command-line template to be used by a Build Customization task to invoke the tool.

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.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

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

Property Value

Type: System.String
Returns the command-line template.

Remarks

This field is optional.

.NET Framework Security

See Also

Reference

Rule Class

Microsoft.Build.Framework.XamlTypes Namespace