Share via


IVsExpansionIntellisenseHost.GetText(String) Method

Definition

Returns the text of the expansion text span.

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

Parameters

bstrText
String

[out] String containing the expansion text.

Returns

If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.

Remarks

C++

From singlefileeditor.idl:

HRESULT IVsExpansionIntellisenseHost::GetText([out] BSTR *bstrText);

Applies to