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
- ppBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines%
Return Value
Type: System.Int32
Implements
IVsTextBufferCoordinator.GetPrimaryBuffer(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