VsTextPackageClass.EnumViews(IVsTextBuffer, IVsEnumTextViews) Method

Definition

Enumerates views that are provided with the core editor and are associated with a particular text buffer.

public:
 virtual int EnumViews(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumTextViews ^ % ppEnum) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::EnumViews;
public:
 virtual int EnumViews(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumTextViews ^ % ppEnum);
public:
 virtual int EnumViews(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumTextViews ^ &  ppEnum) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::EnumViews;
 virtual int EnumViews(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer const & pBuffer, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumTextViews const & & ppEnum);
public virtual int EnumViews (Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer pBuffer, out Microsoft.VisualStudio.TextManager.Interop.IVsEnumTextViews ppEnum);
abstract member EnumViews : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer * IVsEnumTextViews -> int
override this.EnumViews : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer * IVsEnumTextViews -> int
Public Overridable Function EnumViews (pBuffer As IVsTextBuffer, ByRef ppEnum As IVsEnumTextViews) As Integer

Parameters

pBuffer
IVsTextBuffer

[in] Pointer to the IVsTextBuffer interface for which views should be returned. Pass in a value of null to return all views for all buffers.

ppEnum
IVsEnumTextViews

[out] Pointer to the IVsEnumTextViews interface.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to