Freigeben über


IVsLayeredTextView.GetTopmostLayer(IVsTextLayer) Method

Definition

Gets the view’s top-level layer.

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

Parameters

ppLayer
IVsTextLayer

[out] The view's top-level layer representation.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

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

Applies to