IVsSyntheticRegion.GetText(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.
Gets the text associated with the region.
public:
int GetText([Runtime::InteropServices::Out] System::String ^ % pbstrText);
int GetText([Runtime::InteropServices::Out] std::wstring const & & pbstrText);
public int GetText (out string pbstrText);
abstract member GetText : string -> int
Public Function GetText (ByRef pbstrText As String) As Integer
Parameters
- pbstrText
- String
[out] The text for the region.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Warning
This allocates a new BSTR which must be freed by the caller.
COM Signature
From textmgr.idl:
HRESULT IVsSyntheticRegion::GetText(
[out] BSTR *pbstrText
);