Condividi tramite


IVsTextManager.EnumIndependentViews Method

Definition

Enumerates the independent views.

public:
 int EnumIndependentViews(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumIndependentViews ^ % ppEnum);
public:
 int EnumIndependentViews(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumIndependentViews ^ &  ppEnum);
int EnumIndependentViews(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer const & pBuffer, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumIndependentViews const & & ppEnum);
public 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
Public 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.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextManager::EnumIndependentViews(  
   [in] IVsTextBuffer *pBuffer,  
   [out] IVsEnumIndependentViews **ppEnum  
);  

Applies to