Share via


IVsQueryLineChangeCommit.QuerySendEnterLineCommit Method

Gets a flag indicating whether to send the CCG_CARET_ON_NEW_BUFFER_LINE event for the specified line.

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

Syntax

'Declaration
Function QuerySendEnterLineCommit ( _
    dwReserved As UInteger, _
    iLineStart As Integer, _
    iLineEnd As Integer, _
    <OutAttribute> ByRef dwQuerySendCommitFlags As UInteger _
) As Integer
int QuerySendEnterLineCommit(
    uint dwReserved,
    int iLineStart,
    int iLineEnd,
    out uint dwQuerySendCommitFlags
)
int QuerySendEnterLineCommit(
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] int iLineStart, 
    [InAttribute] int iLineEnd, 
    [OutAttribute] unsigned int% dwQuerySendCommitFlags
)
abstract QuerySendEnterLineCommit : 
        dwReserved:uint32 * 
        iLineStart:int * 
        iLineEnd:int * 
        dwQuerySendCommitFlags:uint32 byref -> int
function QuerySendEnterLineCommit(
    dwReserved : uint, 
    iLineStart : int, 
    iLineEnd : int, 
    dwQuerySendCommitFlags : uint
) : int

Parameters

  • iLineStart
    Type: System.Int32

    [in] Index of start of the line to be committed.

  • iLineEnd
    Type: System.Int32

    [in] Index of end of the line to be committed.

  • dwQuerySendCommitFlags
    Type: System.UInt32%

    [out] Flag indicating the commit action.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsQueryLineChangeCommit::QuerySendEnterLineCommit(
   [in] DWORD dwReserved,
   [in] long iLineStart,
   [in] long iLineEnd,
   [out, retval] QuerySendCommitFlags *dwQuerySendCommitFlags
);

.NET Framework Security

See Also

Reference

IVsQueryLineChangeCommit Interface

Microsoft.VisualStudio.TextManager.Interop Namespace