IVsContainedCode::EnumOriginalCodeBlocks Method (IVsEnumCodeBlocks^)

 

Returns an enumerator of original code block mappings.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int EnumOriginalCodeBlocks(
	[OutAttribute] IVsEnumCodeBlocks^% ppEnum
)

Parameters

ppEnum
Type: Microsoft.VisualStudio.TextManager.Interop::IVsEnumCodeBlocks^

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

Return Value

Type: System::Int32

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

From singlefileeditor.idl:

HRESULT EnumOriginalCodeBlocks(
   [out] IVsEnumCodeBlocks **ppEnum
);
Return to top
Show: