共用方式為


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

'宣告
<GuidAttribute("07A45A82-5354-4DDE-AC7D-60F2CDD5573B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsEnumCodeBlocks
'用途
Dim instance As 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

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

IVsEnumCodeBlocks Members

Microsoft.VisualStudio.TextManager.Interop Namespace