IVsContainedCode.EnumOriginalCodeBlocks(IVsEnumCodeBlocks) 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.
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
);