IVsBuildManagerAccessor.Escape(String, String) Méthode

Définition

Prépare une chaîne à être persistante dans MSBuild sans évaluation.

public:
 int Escape(System::String ^ pwszUnescapedValue, [Runtime::InteropServices::Out] System::String ^ % pbstrEscapedValue);
int Escape(std::wstring const & pwszUnescapedValue, [Runtime::InteropServices::Out] std::wstring const & & pbstrEscapedValue);
public int Escape (string pwszUnescapedValue, out string pbstrEscapedValue);
abstract member Escape : string * string -> int
Public Function Escape (pwszUnescapedValue As String, ByRef pbstrEscapedValue As String) As Integer

Paramètres

pwszUnescapedValue
String

Valeur sans séquence d'échappement.

pbstrEscapedValue
String

[out] Valeur placée dans une séquence d'échappement.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

S’applique à