IVsTextManager.EnumIndependentViews Method (IVsTextBuffer, IVsEnumIndependentViews)

 

Enumerates the independent views.

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

int EnumIndependentViews(
	IVsTextBuffer pBuffer,
	out IVsEnumIndependentViews ppEnum
)

Parameters

pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer

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

ppEnum
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumIndependentViews

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

Return Value

Type: System.Int32

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

From textmgr.idl:

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