다음을 통해 공유


IVsEnumBufferCoordinatorSpans Interface

Definition

Represents a list of text span mappings between two buffers.

public interface class IVsEnumBufferCoordinatorSpans
public interface class IVsEnumBufferCoordinatorSpans
__interface IVsEnumBufferCoordinatorSpans
[System.Runtime.InteropServices.Guid("5FCEEA4C-D49F-4ACD-B816-130A5DCD4C54")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsEnumBufferCoordinatorSpans
[System.Runtime.InteropServices.Guid("5FCEEA4C-D49F-4ACD-B816-130A5DCD4C54")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsEnumBufferCoordinatorSpans
[<System.Runtime.InteropServices.Guid("5FCEEA4C-D49F-4ACD-B816-130A5DCD4C54")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsEnumBufferCoordinatorSpans = interface
[<System.Runtime.InteropServices.Guid("5FCEEA4C-D49F-4ACD-B816-130A5DCD4C54")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsEnumBufferCoordinatorSpans = interface
Public Interface IVsEnumBufferCoordinatorSpans
Attributes

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(IVsEnumBufferCoordinatorSpans) method on an IVsTextBufferCoordinator object.

Methods

Clone(IVsEnumBufferCoordinatorSpans)

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

Next(UInt32, NewSpanMapping[], 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