CommandLineBuilder.ToString CommandLineBuilder.ToString CommandLineBuilder.ToString CommandLineBuilder.ToString Method

Definition

Returns the command line as a string.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A String that represents the command line.

Examples

The following example creates a ToolTask that runs Ilasm.exe (IL Assembler). The CommandLineBuilder, ToolLocationHelper, and TaskLoggingHelper classes are used to generate the information needed to run the task.

msbuild_ToolTask#1

Applies to