Partilhar via


Método IVsImmediateStatementCompletion2.SetCompletionContext

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

Sintaxe

'Declaração
Function SetCompletionContext ( _
    pszFilePath As String, _
    pBuffer As IVsTextLines, _
    ptsCurStatement As TextSpan(), _
    punkContext As Object, _
    pTextView As IVsTextView _
) As Integer
int SetCompletionContext(
    string pszFilePath,
    IVsTextLines pBuffer,
    TextSpan[] ptsCurStatement,
    Object punkContext,
    IVsTextView pTextView
)
int SetCompletionContext(
    [InAttribute] String^ pszFilePath, 
    [InAttribute] IVsTextLines^ pBuffer, 
    [InAttribute] array<TextSpan>^ ptsCurStatement, 
    [InAttribute] Object^ punkContext, 
    [InAttribute] IVsTextView^ pTextView
)
abstract SetCompletionContext : 
        pszFilePath:string * 
        pBuffer:IVsTextLines * 
        ptsCurStatement:TextSpan[] * 
        punkContext:Object * 
        pTextView:IVsTextView -> int
function SetCompletionContext(
    pszFilePath : String, 
    pBuffer : IVsTextLines, 
    ptsCurStatement : TextSpan[], 
    punkContext : Object, 
    pTextView : IVsTextView
) : int

Parâmetros

  • pszFilePath
    Tipo: String
  • punkContext
    Tipo: Object

Valor de retorno

Tipo: Int32

Segurança do .NET Framework

Consulte também

Referência

IVsImmediateStatementCompletion2 Interface

Namespace Microsoft.VisualStudio.TextManager.Interop