다음을 통해 공유


IVsImmediateStatementCompletion2.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, _
    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

매개 변수

  • pszFilePath
    형식: String
  • punkContext
    형식: Object

반환 값

형식: Int32

.NET Framework 보안

참고 항목

참조

IVsImmediateStatementCompletion2 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스