Compartilhar via


IVsContainedCode.EnumOriginalCodeBlocks(IVsEnumCodeBlocks) Method

Definition

Returns an enumerator of original code block mappings.

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

Parameters

ppEnum
IVsEnumCodeBlocks

[out] Returns an IVsEnumCodeBlocks object that contains a list of TextSpanAndCookie objects representing all embedded code blocks in the original document.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT EnumOriginalCodeBlocks(  
   [out] IVsEnumCodeBlocks **ppEnum  
);  

Applies to