Compartir a través de


VsSmartTagTipWindowClass.GetContextStream (Método)

Devuelve la secuencia de contexto (la posición y la longitud del texto en el búfer que no se debe obscurecer por la ventana de sugerencias, pero a la que está relacionado el contenido de la sugerencia).

Espacio de nombres:  Microsoft.VisualStudio.TextManager.Interop
Ensamblado:  Microsoft.VisualStudio.TextManager.Interop.8.0 (en Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Sintaxis

'Declaración
Public Overridable Function GetContextStream ( _
    <OutAttribute> ByRef piPos As Integer, _
    <OutAttribute> ByRef piLength As Integer _
) As Integer
public virtual int GetContextStream(
    out int piPos,
    out int piLength
)
public:
virtual int GetContextStream(
    [OutAttribute] int% piPos, 
    [OutAttribute] int% piLength
)
abstract GetContextStream : 
        piPos:int byref * 
        piLength:int byref -> int  
override GetContextStream : 
        piPos:int byref * 
        piLength:int byref -> int
public function GetContextStream(
    piPos : int, 
    piLength : int
) : int

Parámetros

  • piPos
    Tipo: Int32%

    [out] Posición en la secuencia.

  • piLength
    Tipo: Int32%

    [out] la longitud de la secuencia.

Valor devuelto

Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.

Implementaciones

IVsSmartTagTipWindow.GetContextStream(Int32%, Int32%)

Seguridad de .NET Framework

Vea también

Referencia

VsSmartTagTipWindowClass Clase

Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)