Share via


IVsTextLayerMarker.GetTextLayer(IVsTextLayer) Method

Definition

Gets the text layer.

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

Parameters

ppLayer
IVsTextLayer

[out] The text layer.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayerMarker::GetTextLayer(  
   [out] IVsTextLayer **ppLayer  
);  

Applies to