Share via


IVsCommandWindowCompletion.SetCompletionContext Method

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

Syntax

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

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsCommandWindowCompletion Interface

Microsoft.VisualStudio.TextManager.Interop Namespace