IVsBuildManagerAccessor.Escape(String, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.