次の方法で共有


IVsTextImage.UnlockImage(UInt32) Method

Definition

Notifies that the text image is not in use.

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

Parameters

grfLock
UInt32

[in] Specifies a locking flag. Values are taken from the BufferLockFlags enumeration.

Returns

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

Remarks

The environment can request a lock on a text image with a call to LockImage.

COM Signature

From textmgr.idl:

HRESULT IVsTextImage::UnlockImage(  
   [in] DWORD grfLock  
);  

Applies to