Condividi tramite


Metodo IVsLayeredTextView.GetTopmostLayer

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

Sintassi

'Dichiarazione
Function GetTopmostLayer ( _
    <OutAttribute> ByRef ppLayer As IVsTextLayer _
) As Integer
int GetTopmostLayer(
    out IVsTextLayer ppLayer
)
int GetTopmostLayer(
    [OutAttribute] IVsTextLayer^% ppLayer
)
abstract GetTopmostLayer : 
        ppLayer:IVsTextLayer byref -> int
function GetTopmostLayer(
    ppLayer : IVsTextLayer
) : int

Parametri

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 textmgr.idl:

HRESULT IVsLayeredTextView::GetTopmostLayer(
   [out] IVsTextLayer **ppLayer
);

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsLayeredTextView Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop