IVsLayeredTextView.GetTopmostLayer(IVsTextLayer) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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
);