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)

[GuidAttribute("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")]
[InterfaceTypeAttribute(1)]
public interface IVsEnumCodeBlocks

NameDescription
System_CAPS_pubmethodClone(IVsEnumCodeBlocks)

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

System_CAPS_pubmethodNext(UInt32, TextSpanAndCookie[], UInt32)

Returns the next set of elements from the enumeration.

System_CAPS_pubmethodReset()

Resets the enumeration to the first element.

System_CAPS_pubmethodSkip(UInt32)

Skips over the specified number of elements.

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.

Return to top
Show: