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
'Declaración
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
- ppEnum
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumBufferCoordinatorSpans%
[out] Returns an IVsEnumBufferCoordinatorSpans object that contains a list of NewSpanMapping objects.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Implements
IVsTextBufferCoordinator.EnumSpans(IVsEnumBufferCoordinatorSpans%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.