Condividi tramite


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

  • bstrCompletionChar
    Type: System.String

    [in] The completion characters.

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

See Also

Reference

IVsTextViewEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace