共用方式為


IVsQueryLineChangeCommit.QuerySendEnterLineCommit Method

Definition

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

public:
 int QuerySendEnterLineCommit(System::UInt32 dwReserved, int iLineStart, int iLineEnd, [Runtime::InteropServices::Out] System::UInt32 % dwQuerySendCommitFlags);
int QuerySendEnterLineCommit(unsigned int dwReserved, int iLineStart, int iLineEnd, [Runtime::InteropServices::Out] unsigned int & dwQuerySendCommitFlags);
public int QuerySendEnterLineCommit (uint dwReserved, int iLineStart, int iLineEnd, out uint dwQuerySendCommitFlags);
abstract member QuerySendEnterLineCommit : uint32 * int * int * uint32 -> int
Public Function QuerySendEnterLineCommit (dwReserved As UInteger, iLineStart As Integer, iLineEnd As Integer, ByRef dwQuerySendCommitFlags As UInteger) As Integer

Parameters

dwReserved
UInt32

[in] Reserved for future.

iLineStart
Int32

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

iLineEnd
Int32

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

dwQuerySendCommitFlags
UInt32

[out] Flag indicating the commit action.

Returns

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  
);  

Applies to