IVsSyntheticRegion.GetTextLayer(IVsTextLayer) Yöntem

Tanım

İlişkili katmanı alır.

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

Parametreler

ppLayer
IVsTextLayer

dışı İlişkili katman.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

Uyarı

ppLayer Addreftoed edilecek.

COM Imzası

Textmgr. IDL dosyasından:

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

Şunlara uygulanır