IVsSyntheticRegion.SetText(String) Méthode

Définition

Définit le texte de la zone.

public:
 int SetText(System::String ^ pszText);
public:
 int SetText(Platform::String ^ pszText);
int SetText(std::wstring const & pszText);
public int SetText (string pszText);
abstract member SetText : string -> int
Public Function SetText (pszText As String) As Integer

Paramètres

pszText
String

[in] Texte.

Retours

Int32

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

Remarques

Avertissement

Le gestionnaire de texte synthétique alloue une nouvelle chaîne.

Signature COM

À partir de textmgr. idl :

HRESULT IVsSyntheticRegion::SetText(  
   [in] LPCWSTR pszText  
);  

S’applique à