IVsSyntheticRegion.GetTextLayer(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 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
);