IVsTextManager.RegisterView Method
Method information is not provided.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Function RegisterView ( _
pView As IVsTextView, _
pBuffer As IVsTextBuffer _
) As Integer
'使用
Dim instance As IVsTextManager
Dim pView As IVsTextView
Dim pBuffer As IVsTextBuffer
Dim returnValue As Integer
returnValue = instance.RegisterView(pView, _
pBuffer)
int RegisterView(
IVsTextView pView,
IVsTextBuffer pBuffer
)
int RegisterView(
[InAttribute] IVsTextView^ pView,
[InAttribute] IVsTextBuffer^ pBuffer
)
function RegisterView(
pView : IVsTextView,
pBuffer : IVsTextBuffer
) : int
Parameters
pView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextViewDo not use.
pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDo not use.
Return Value
Type: System.Int32
Permissions
- 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.