共用方式為


IVsEnumCodeBlocks Interface

Definition

Represents a list of spans of code blocks.

public interface class IVsEnumCodeBlocks
public interface class IVsEnumCodeBlocks
__interface IVsEnumCodeBlocks
[System.Runtime.InteropServices.Guid("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsEnumCodeBlocks
[System.Runtime.InteropServices.Guid("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsEnumCodeBlocks
[<System.Runtime.InteropServices.Guid("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsEnumCodeBlocks = interface
[<System.Runtime.InteropServices.Guid("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsEnumCodeBlocks = interface
Public Interface IVsEnumCodeBlocks
Attributes

Remarks

A code block is a piece of code that is embedded in a larger document, for example, a JScript code block embedded in an ASP.NET web page.

Notes to Implementers

This interface is typically implemented by the same entity that implements the IVsContainedCode interface.

Notes to Callers

This interface can be obtained by calling the EnumOriginalCodeBlocks(IVsEnumCodeBlocks) method in the IVsContainedCode interface.

Methods

Clone(IVsEnumCodeBlocks)

Returns a copy of the current enumeration as a separate object.

Next(UInt32, TextSpanAndCookie[], UInt32)

Returns the next set of elements from the enumeration.

Reset()

Resets the enumeration to the first element.

Skip(UInt32)

Skips over the specified number of elements.

Applies to