次の方法で共有


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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsTextManager2 Interface

IVsTextManager2 Members

Microsoft.VisualStudio.TextManager.Interop Namespace