Bagikan melalui


IVsContainedCode.EnumOriginalCodeBlocks Method

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)

Syntax

'Declaration
Function EnumOriginalCodeBlocks ( _
    <OutAttribute> ByRef ppEnum As IVsEnumCodeBlocks _
) As Integer
int EnumOriginalCodeBlocks(
    out IVsEnumCodeBlocks ppEnum
)
int EnumOriginalCodeBlocks(
    [OutAttribute] IVsEnumCodeBlocks^% ppEnum
)
abstract EnumOriginalCodeBlocks : 
        ppEnum:IVsEnumCodeBlocks byref -> int 
function EnumOriginalCodeBlocks(
    ppEnum : IVsEnumCodeBlocks
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

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

.NET Framework Security

See Also

Reference

IVsContainedCode Interface

Microsoft.VisualStudio.TextManager.Interop Namespace