Udostępnij za pośrednictwem


IVsSyntheticRegion.GetTextLayer(IVsTextLayer) Method

Definition

Gets the associated 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 associated layer.

Returns

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

Remarks

Warning

ppLayer will be AddRef’ed.

COM Signature

From textmgr.idl:

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

Applies to