Condividi tramite


Metodo IVsSmartTagTipWindow.GetContextStream

restituisce il flusso di contesto.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Sintassi

'Dichiarazione
Function GetContextStream ( _
    <OutAttribute> ByRef piPos As Integer, _
    <OutAttribute> ByRef piLength As Integer _
) As Integer
int GetContextStream(
    out int piPos,
    out int piLength
)
int GetContextStream(
    [OutAttribute] int% piPos, 
    [OutAttribute] int% piLength
)
abstract GetContextStream : 
        piPos:int byref * 
        piLength:int byref -> int
function GetContextStream(
    piPos : int, 
    piLength : int
) : int

Parametri

  • piPos
    Tipo: Int32%

    [out] La posizione nel flusso.

  • piLength
    Tipo: Int32%

    [out] La lunghezza del flusso.

Valore restituito

Tipo: Int32
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Note

Firma COM

da textmgr2.idl:

HRESULT IVsSmartTagTipWindow::GetContextStream(
   [out] long *piPos,
   [out] long *piLength
);

Il flusso di contesto è la posizione e la lunghezza del testo nel buffer che non deve essere nascosto dalla finestra del suggerimento, ma a cui il contenuto del suggerimento è correlato.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsSmartTagTipWindow Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop