VsTextBufferCoordinatorClass.EnumSpans Method

Returns a list of span mappings controlled by the buffer coordinator object.

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

Syntax

声明
Public Overridable Function EnumSpans ( _
    ByRef ppEnum As IVsEnumBufferCoordinatorSpans _
) As Integer
public virtual int EnumSpans(
    ref IVsEnumBufferCoordinatorSpans ppEnum
)
public:
virtual int EnumSpans(
    IVsEnumBufferCoordinatorSpans^% ppEnum
)
abstract EnumSpans : 
        ppEnum:IVsEnumBufferCoordinatorSpans byref -> int 
override EnumSpans : 
        ppEnum:IVsEnumBufferCoordinatorSpans byref -> int 
public function EnumSpans(
    ppEnum : IVsEnumBufferCoordinatorSpans
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsTextBufferCoordinator.EnumSpans(IVsEnumBufferCoordinatorSpans%)

.NET Framework Security

See Also

Reference

VsTextBufferCoordinatorClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace