Поделиться через


IVsCommandWindowCompletion.SetCompletionContext - метод

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop.8.0 (в Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Синтаксис

'Декларация
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

Параметры

  • pszFilePath
    Тип: String
  • punkContext
    Тип: Object

Возвращаемое значение

Тип: Int32

Безопасность платформы .NET Framework

См. также

Ссылки

IVsCommandWindowCompletion Интерфейс

Microsoft.VisualStudio.TextManager.Interop - пространство имен