共用方式為


ProjectCollection.Unescape Method

Converts escaped characters in a string to MSBuild characters with special meaning.

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

Syntax

'Declaration
Public Shared Function Unescape ( _
    escapedString As String _
) As String
public static string Unescape(
    string escapedString
)
public:
static String^ Unescape(
    String^ escapedString
)
static member Unescape : 
        escapedString:string -> string
public static function Unescape(
    escapedString : String
) : String

Parameters

Return Value

Type: System.String
Returns the converted string.

Remarks

For example, "%3b" is converted to ";".

.NET Framework Security

See Also

Reference

ProjectCollection Class

Microsoft.Build.Evaluation Namespace