IVsTextViewEx::InvokeInsertionUI Method (IVsCompletionSet^, String^, String^, IVsInsertionUI^)

 

Invoke the insertion UI of the expansions.

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

int InvokeInsertionUI(
	IVsCompletionSet^ pCompSet,
	String^ bstrPrefixText,
	String^ bstrCompletionChar,
	[OutAttribute] IVsInsertionUI^% pInsertionUI
)

Parameters

pCompSet
Type: Microsoft.VisualStudio.TextManager.Interop::IVsCompletionSet^

[in] The completion set.

bstrPrefixText
Type: System::String^

[in] The prefix text.

bstrCompletionChar
Type: System::String^

[in] The completion characters.

pInsertionUI
Type: Microsoft.VisualStudio.TextManager.Interop::IVsInsertionUI^

[out] The insertion UI.

Return Value

Type: System::Int32

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

All inputs can be null. The default completions character is ‘>’. The default for guidLang is the langSvc of the file.

Return to top
Show: