다음을 통해 공유


VsTextBufferCoordinatorClass.GetPrimaryBuffer Method

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

Syntax

‘선언
Public Overridable Function GetPrimaryBuffer ( _
    <OutAttribute> ByRef ppBuffer As IVsTextLines _
) As Integer
‘사용 방법
Dim instance As VsTextBufferCoordinatorClass
Dim ppBuffer As IVsTextLines
Dim returnValue As Integer

returnValue = instance.GetPrimaryBuffer(ppBuffer)
public virtual int GetPrimaryBuffer(
    out IVsTextLines ppBuffer
)
public:
virtual int GetPrimaryBuffer(
    [OutAttribute] IVsTextLines^% ppBuffer
)
abstract GetPrimaryBuffer : 
        ppBuffer:IVsTextLines byref -> int 
override GetPrimaryBuffer : 
        ppBuffer:IVsTextLines byref -> int 
public function GetPrimaryBuffer(
    ppBuffer : IVsTextLines
) : int

Parameters

Return Value

Type: System.Int32

Implements

IVsTextBufferCoordinator.GetPrimaryBuffer(IVsTextLines%)

.NET Framework Security

See Also

Reference

VsTextBufferCoordinatorClass Class

VsTextBufferCoordinatorClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace