共用方式為


IVsExpansionClient.PositionCaretForEditing Method

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

Syntax

'宣告
Function PositionCaretForEditing ( _
    pBuffer As IVsTextLines, _
    ts As TextSpan() _
) As Integer
'用途
Dim instance As IVsExpansionClient
Dim pBuffer As IVsTextLines
Dim ts As TextSpan()
Dim returnValue As Integer

returnValue = instance.PositionCaretForEditing(pBuffer, _
    ts)
int PositionCaretForEditing(
    IVsTextLines pBuffer,
    TextSpan[] ts
)
int PositionCaretForEditing(
    [InAttribute] IVsTextLines^ pBuffer, 
    [InAttribute] array<TextSpan>^ ts
)
abstract PositionCaretForEditing : 
        pBuffer:IVsTextLines * 
        ts:TextSpan[] -> int 
function PositionCaretForEditing(
    pBuffer : IVsTextLines, 
    ts : TextSpan[]
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsExpansionClient Interface

IVsExpansionClient Members

Microsoft.VisualStudio.TextManager.Interop Namespace