NAnt SDK Documentation - v0.92

ArgumentUtils.QuoteArgumentValue Method 

Quotes an argument value and processes backslashes using a given BackslashProcessingMethod.

[Visual Basic]
Public Shared Function QuoteArgumentValue( _
   ByVal value As String, _
   ByVal processingMethod As BackslashProcessingMethod _
) As String
[C#]
public static string QuoteArgumentValue(
   string value,
   BackslashProcessingMethod processingMethod
);

Parameters

value
The argument value to quote.
processingMethod
The BackslashProcessingMethod to use.

Return Value

The quoted argument value.

See Also

ArgumentUtils Class | NAnt.VisualCpp.Util Namespace