Partager via


VsTextManagerClass.EnumViews Method

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

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

Syntax

'Declaration
Public Overridable Function EnumViews ( _
    pBuffer As IVsTextBuffer, _
    <OutAttribute> ByRef ppEnum As IVsEnumTextViews _
) As Integer
public virtual int EnumViews(
    IVsTextBuffer pBuffer,
    out IVsEnumTextViews ppEnum
)
public:
virtual int EnumViews(
    [InAttribute] IVsTextBuffer^ pBuffer, 
    [OutAttribute] IVsEnumTextViews^% ppEnum
)
abstract EnumViews : 
        pBuffer:IVsTextBuffer * 
        ppEnum:IVsEnumTextViews byref -> int  
override EnumViews : 
        pBuffer:IVsTextBuffer * 
        ppEnum:IVsEnumTextViews byref -> int
public function EnumViews(
    pBuffer : IVsTextBuffer, 
    ppEnum : IVsEnumTextViews
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTextManager.EnumViews(IVsTextBuffer, IVsEnumTextViews%)

.NET Framework Security

See Also

Reference

VsTextManagerClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace