IVsExpansionIntellisenseHost::GetText Method (String^)

 

Returns the text of the expansion text span.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int GetText(
	[OutAttribute] String^% bstrText
)

Parameters

bstrText
Type: System::String^

[out] String containing the expansion text.

Return Value

Type: System::Int32

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

C++

From singlefileeditor.idl:

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

Return to top
Show: