VsTextPackageClass::EnumIndependentViews Method (IVsTextBuffer^, IVsEnumIndependentViews^)
Visual Studio 2015
Enumerates independent view.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int EnumIndependentViews( IVsTextBuffer^ pBuffer, [OutAttribute] 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::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: