次の方法で共有


IVsTextManager.EnumIndependentViews Method

Enumerates the independent views.

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

Syntax

'宣言
Function EnumIndependentViews ( _
    pBuffer As IVsTextBuffer, _
    <OutAttribute> ByRef ppEnum As IVsEnumIndependentViews _
) As Integer
'使用
Dim instance As IVsTextManager
Dim pBuffer As IVsTextBuffer
Dim ppEnum As IVsEnumIndependentViews
Dim returnValue As Integer

returnValue = instance.EnumIndependentViews(pBuffer, _
    ppEnum)
int EnumIndependentViews(
    IVsTextBuffer pBuffer,
    out IVsEnumIndependentViews ppEnum
)
int EnumIndependentViews(
    [InAttribute] IVsTextBuffer^ pBuffer, 
    [OutAttribute] IVsEnumIndependentViews^% ppEnum
)
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.

Remarks

COM Signature

From textmgr.idl:

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

Permissions

See Also

Reference

IVsTextManager Interface

IVsTextManager Members

Microsoft.VisualStudio.TextManager.Interop Namespace