共用方式為


VsTextManagerClass.EnumIndependentViews Method

Definition

Enumerates independent views.

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

Parameters

pBuffer
IVsTextBuffer

[in] Pointer to the IVsTextBuffer interface associated with the view.

ppEnum
IVsEnumIndependentViews

[out] Pointer to the IVsEnumIndependentViews interface to enumerate the number of independent views.

Returns

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

Implements

Applies to