VsTextBufferCoordinatorClass.SetBuffers Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Déclaration
Public Overridable Function SetBuffers ( _
pPrimaryBuffer As IVsTextLines, _
pSecondaryBuffer As IVsTextLines _
) As Integer
'Utilisation
Dim instance As VsTextBufferCoordinatorClass
Dim pPrimaryBuffer As IVsTextLines
Dim pSecondaryBuffer As IVsTextLines
Dim returnValue As Integer
returnValue = instance.SetBuffers(pPrimaryBuffer, _
pSecondaryBuffer)
public virtual int SetBuffers(
IVsTextLines pPrimaryBuffer,
IVsTextLines pSecondaryBuffer
)
public:
virtual int SetBuffers(
[InAttribute] IVsTextLines^ pPrimaryBuffer,
[InAttribute] IVsTextLines^ pSecondaryBuffer
)
abstract SetBuffers :
pPrimaryBuffer:IVsTextLines *
pSecondaryBuffer:IVsTextLines -> int
override SetBuffers :
pPrimaryBuffer:IVsTextLines *
pSecondaryBuffer:IVsTextLines -> int
public function SetBuffers(
pPrimaryBuffer : IVsTextLines,
pSecondaryBuffer : IVsTextLines
) : int
Parameters
- pPrimaryBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
- pSecondaryBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
Return Value
Type: System.Int32
Implements
IVsTextBufferCoordinator.SetBuffers(IVsTextLines, IVsTextLines)
.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.
See Also
Reference
VsTextBufferCoordinatorClass Class