IVsTextViewEx.InvokeInsertionUI Method
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)
Syntax
'Declaration
Function InvokeInsertionUI ( _
pCompSet As IVsCompletionSet, _
bstrPrefixText As String, _
bstrCompletionChar As String, _
<OutAttribute> ByRef pInsertionUI As IVsInsertionUI _
) As Integer
int InvokeInsertionUI(
IVsCompletionSet pCompSet,
string bstrPrefixText,
string bstrCompletionChar,
out IVsInsertionUI pInsertionUI
)
int InvokeInsertionUI(
[InAttribute] IVsCompletionSet^ pCompSet,
[InAttribute] String^ bstrPrefixText,
[InAttribute] String^ bstrCompletionChar,
[OutAttribute] IVsInsertionUI^% pInsertionUI
)
abstract InvokeInsertionUI :
pCompSet:IVsCompletionSet *
bstrPrefixText:string *
bstrCompletionChar:string *
pInsertionUI:IVsInsertionUI byref -> int
function InvokeInsertionUI(
pCompSet : IVsCompletionSet,
bstrPrefixText : String,
bstrCompletionChar : String,
pInsertionUI : IVsInsertionUI
) : int
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.
Remarks
All inputs can be null. The default completions character is ‘>’. The default for guidLang is the langSvc of the file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.