共用方式為


IVsTextLayer.UnlockBufferEx(UInt32) Method

Definition

Unlocks the buffer as specified for reading and writing.

public:
 int UnlockBufferEx(System::UInt32 dwFlags);
public:
 int UnlockBufferEx(unsigned int dwFlags);
int UnlockBufferEx(unsigned int dwFlags);
public int UnlockBufferEx (uint dwFlags);
abstract member UnlockBufferEx : uint32 -> int
Public Function UnlockBufferEx (dwFlags As UInteger) As Integer

Parameters

dwFlags
UInt32

[in] ORing of BufferLockFlags (currently either BLF_READ or BLF_READ_AND_WRITE)

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayer::UnlockBufferEx(  
   [in] DWORD dwFlags  
);  

Applies to