共用方式為


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

'宣告
Function EnumOriginalCodeBlocks ( _
    <OutAttribute> ByRef ppEnum As IVsEnumCodeBlocks _
) As Integer
'用途
Dim instance As IVsContainedCode
Dim ppEnum As IVsEnumCodeBlocks
Dim returnValue As Integer

returnValue = instance.EnumOriginalCodeBlocks(ppEnum)
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

IVsContainedCode Members

Microsoft.VisualStudio.TextManager.Interop Namespace