Partager via


IVsTextTrackingPoint.GetTextLayer(IVsTextLayer) Method

Definition

Gets the tracking point’s 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 IVsTextTrackingPoint::GetTextLayer(

[out] IVsTextLayer **ppLayer

);

Applies to