共用方式為


VsTextManagerClass.EnumIndependentViews Method

Enumerates independent views.

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

Syntax

'宣告
Public Overridable Function EnumIndependentViews ( _
    pBuffer As IVsTextBuffer, _
    <OutAttribute> ByRef ppEnum As IVsEnumIndependentViews _
) As Integer
public virtual int EnumIndependentViews(
    IVsTextBuffer pBuffer,
    out IVsEnumIndependentViews ppEnum
)
public:
virtual int EnumIndependentViews(
    [InAttribute] IVsTextBuffer^ pBuffer, 
    [OutAttribute] IVsEnumIndependentViews^% ppEnum
)
abstract EnumIndependentViews : 
        pBuffer:IVsTextBuffer * 
        ppEnum:IVsEnumIndependentViews byref -> int 
override EnumIndependentViews : 
        pBuffer:IVsTextBuffer * 
        ppEnum:IVsEnumIndependentViews byref -> int 
public function EnumIndependentViews(
    pBuffer : IVsTextBuffer, 
    ppEnum : IVsEnumIndependentViews
) : 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.EnumIndependentViews(IVsTextBuffer, IVsEnumIndependentViews%)

.NET Framework Security

See Also

Reference

VsTextManagerClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace