Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is deprecated. Please use SetCompletionContext.
Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function SetCompletionContext_Deprecated ( _
    pszFilePath As String, _
    pBuffer As IVsTextLines, _
    ptsCurStatement As TextSpan(), _
    punkContext As Object _
) As Integer
int SetCompletionContext_Deprecated(
    string pszFilePath,
    IVsTextLines pBuffer,
    TextSpan[] ptsCurStatement,
    Object punkContext
)
int SetCompletionContext_Deprecated(
    [InAttribute] String^ pszFilePath, 
    [InAttribute] IVsTextLines^ pBuffer, 
    [InAttribute] array<TextSpan>^ ptsCurStatement, 
    [InAttribute] Object^ punkContext
)
abstract SetCompletionContext_Deprecated : 
        pszFilePath:string * 
        pBuffer:IVsTextLines * 
        ptsCurStatement:TextSpan[] * 
        punkContext:Object -> int
function SetCompletionContext_Deprecated(
    pszFilePath : String, 
    pBuffer : IVsTextLines, 
    ptsCurStatement : TextSpan[], 
    punkContext : Object
) : int
Parameters
- pszFilePath
 Type: System.String
- pBuffer
 Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
- ptsCurStatement
 Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
- punkContext
 Type: System.Object
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.