IVsSyntheticRegion.SetText(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the text of the region.
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
Parameters
- pszText
- String
[in] The text.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Warning
Synthetic text manager allocates a new string.
COM Signature
From textmgr.idl:
HRESULT IVsSyntheticRegion::SetText(
[in] LPCWSTR pszText
);