Freigeben über


IVsTextViewEx.InvokeInsertionUI Method

Definition

Invoke the insertion UI of the expansions.

public:
 int InvokeInsertionUI(Microsoft::VisualStudio::TextManager::Interop::IVsCompletionSet ^ pCompSet, System::String ^ bstrPrefixText, System::String ^ bstrCompletionChar, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsInsertionUI ^ % pInsertionUI);
public:
 int InvokeInsertionUI(Microsoft::VisualStudio::TextManager::Interop::IVsCompletionSet ^ pCompSet, Platform::String ^ bstrPrefixText, Platform::String ^ bstrCompletionChar, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsInsertionUI ^ &  pInsertionUI);
int InvokeInsertionUI(Microsoft::VisualStudio::TextManager::Interop::IVsCompletionSet const & pCompSet, std::wstring const & bstrPrefixText, std::wstring const & bstrCompletionChar, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsInsertionUI const & & pInsertionUI);
public int InvokeInsertionUI (Microsoft.VisualStudio.TextManager.Interop.IVsCompletionSet pCompSet, string bstrPrefixText, string bstrCompletionChar, out Microsoft.VisualStudio.TextManager.Interop.IVsInsertionUI pInsertionUI);
abstract member InvokeInsertionUI : Microsoft.VisualStudio.TextManager.Interop.IVsCompletionSet * string * string * IVsInsertionUI -> int
Public Function InvokeInsertionUI (pCompSet As IVsCompletionSet, bstrPrefixText As String, bstrCompletionChar As String, ByRef pInsertionUI As IVsInsertionUI) As Integer

Parameters

pCompSet
IVsCompletionSet

[in] The completion set.

bstrPrefixText
String

[in] The prefix text.

bstrCompletionChar
String

[in] The completion characters.

pInsertionUI
IVsInsertionUI

[out] The insertion UI.

Returns

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

Remarks

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

Applies to