共用方式為


ToolTask.AdjustCommandsForOperatingSystem(String) Method

Definition

Replace backslashes with OS-specific path separators, except when likely that the backslash is intentional.

protected:
 virtual System::String ^ AdjustCommandsForOperatingSystem(System::String ^ input);
protected virtual string AdjustCommandsForOperatingSystem (string input);
abstract member AdjustCommandsForOperatingSystem : string -> string
override this.AdjustCommandsForOperatingSystem : string -> string
Protected Overridable Function AdjustCommandsForOperatingSystem (input As String) As String

Parameters

input
String

Returns

Remarks

Not a static method so that an implementation can override with more-specific knowledge of what backslashes are likely to be correct.

Applies to