IVsTextManager2.NavigateToPosition2 Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
Function NavigateToPosition2 ( _
pBuffer As IVsTextBuffer, _
ByRef guidDocViewType As Guid, _
iPos As Integer, _
iLen As Integer, _
grfIncludeViewFrameType As UInteger _
) As Integer
'用途
Dim instance As IVsTextManager2
Dim pBuffer As IVsTextBuffer
Dim guidDocViewType As Guid
Dim iPos As Integer
Dim iLen As Integer
Dim grfIncludeViewFrameType As UInteger
Dim returnValue As Integer
returnValue = instance.NavigateToPosition2(pBuffer, _
guidDocViewType, iPos, iLen, grfIncludeViewFrameType)
int NavigateToPosition2(
IVsTextBuffer pBuffer,
ref Guid guidDocViewType,
int iPos,
int iLen,
uint grfIncludeViewFrameType
)
int NavigateToPosition2(
[InAttribute] IVsTextBuffer^ pBuffer,
[InAttribute] Guid% guidDocViewType,
[InAttribute] int iPos,
[InAttribute] int iLen,
[InAttribute] unsigned int grfIncludeViewFrameType
)
abstract NavigateToPosition2 :
pBuffer:IVsTextBuffer *
guidDocViewType:Guid byref *
iPos:int *
iLen:int *
grfIncludeViewFrameType:uint32 -> int
function NavigateToPosition2(
pBuffer : IVsTextBuffer,
guidDocViewType : Guid,
iPos : int,
iLen : int,
grfIncludeViewFrameType : uint
) : int
Parameters
- pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer
- guidDocViewType
Type: System.Guid%
- iPos
Type: System.Int32
- iLen
Type: System.Int32
- grfIncludeViewFrameType
Type: System.UInt32
Return Value
Type: System.Int32
.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.