IVsLayeredTextView.GetTopmostLayer(IVsTextLayer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);