Freigeben über


IVsEnumCodeBlocks Interface

Represents a list of spans of code blocks.

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

Syntax

'Declaration
<GuidAttribute("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsEnumCodeBlocks
[GuidAttribute("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")]
[InterfaceTypeAttribute()]
public interface IVsEnumCodeBlocks
[GuidAttribute(L"07A45A82-5354-4DDE-AC7D-60F2CDD5573B")]
[InterfaceTypeAttribute()]
public interface class IVsEnumCodeBlocks
[<GuidAttribute("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")>]
[<InterfaceTypeAttribute()>]
type IVsEnumCodeBlocks =  interface end
public interface IVsEnumCodeBlocks

The IVsEnumCodeBlocks type exposes the following members.

Methods

  Name Description
Public method Clone Returns a copy of the current enumeration as a separate object.
Public method Next Returns the next set of elements from the enumeration.
Public method Reset Resets the enumeration to the first element.
Public method Skip Skips over the specified number of elements.

Top

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 method in the IVsContainedCode interface.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace