共用方式為


IVsTextLines.UnlockBuffer Method

Definition

Unlocks a buffer locked with the method LockBuffer().

public:
 int UnlockBuffer();
public:
 int UnlockBuffer();
int UnlockBuffer();
public int UnlockBuffer ();
abstract member UnlockBuffer : unit -> int
Public Function UnlockBuffer () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLines::UnlockBuffer();  

Call this method after calling the method LockBuffer.

Applies to