次の方法で共有


IVsEnumBufferCoordinatorSpans Interface

Represents a list of text span mappings between two buffers.

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

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("5FCEEA4C-D49F-4ACD-B816-130A5DCD4C54")> _
Public Interface IVsEnumBufferCoordinatorSpans
'使用
Dim instance As IVsEnumBufferCoordinatorSpans
[InterfaceTypeAttribute()]
[GuidAttribute("5FCEEA4C-D49F-4ACD-B816-130A5DCD4C54")]
public interface IVsEnumBufferCoordinatorSpans
[InterfaceTypeAttribute()]
[GuidAttribute(L"5FCEEA4C-D49F-4ACD-B816-130A5DCD4C54")]
public interface class IVsEnumBufferCoordinatorSpans
[<InterfaceTypeAttribute()>]
[<GuidAttribute("5FCEEA4C-D49F-4ACD-B816-130A5DCD4C54")>]
type IVsEnumBufferCoordinatorSpans =  interface end
public interface IVsEnumBufferCoordinatorSpans

Remarks

A span mapping maps a text span from one buffer, typically a primary buffer, and a secondary buffer. This mapping is used by contained languages that have code embedded in a larger document in the primary buffer but need to access the code all by itself in a secondary buffer.

Notes to Implementers

This interface is implemented a text buffer that also implements the IVsTextBufferCoordinator interface.

Notes to Callers

This interface is obtained by calling the EnumSpans method on an IVsTextBufferCoordinator object.

See Also

Reference

IVsEnumBufferCoordinatorSpans Members

Microsoft.VisualStudio.TextManager.Interop Namespace