IVsLayeredTextView.GetTopmostLayer(IVsTextLayer) Méthode

Définition

Obtient la couche de niveau supérieur de la vue.

public:
 int GetTopmostLayer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLayer ^ % ppLayer);
public:
 int GetTopmostLayer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLayer ^ &  ppLayer);
int GetTopmostLayer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLayer const & & ppLayer);
public int GetTopmostLayer (out Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer ppLayer);
abstract member GetTopmostLayer : IVsTextLayer -> int
Public Function GetTopmostLayer (ByRef ppLayer As IVsTextLayer) As Integer

Paramètres

ppLayer
IVsTextLayer

[out] Représentation de la couche de niveau supérieur de la vue.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

À partir de textmgr. idl :

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

S’applique à