VsTextPackageClass.EnumIndependentViews Method
Enumerates independent view.
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
'用途
Dim instance As VsTextPackageClass
Dim pBuffer As IVsTextBuffer
Dim ppEnum As IVsEnumIndependentViews
Dim returnValue As Integer
returnValue = instance.EnumIndependentViews(pBuffer, _
ppEnum)
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
- 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
Implements
IVsTextManager.EnumIndependentViews(IVsTextBuffer, IVsEnumIndependentViews%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.