Método IVsCommandWindowCompletion.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 _
) 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
Parâmetros
- pszFilePath
Tipo: String
- pBuffer
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
- ptsCurStatement
Tipo: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
- punkContext
Tipo: Object
Valor de retorno
Tipo: Int32
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.