共用方式為


VsTextImageClass.UnlockImage(UInt32) Method

Definition

Notifies that the text image is not in use.

public:
 virtual int UnlockImage(System::UInt32 grfLock) = Microsoft::VisualStudio::TextManager::Interop::IVsTextImage::UnlockImage;
public:
 virtual int UnlockImage(System::UInt32 grfLock);
public:
 virtual int UnlockImage(unsigned int grfLock) = Microsoft::VisualStudio::TextManager::Interop::IVsTextImage::UnlockImage;
 virtual int UnlockImage(unsigned int grfLock);
public virtual int UnlockImage (uint grfLock);
abstract member UnlockImage : uint32 -> int
override this.UnlockImage : uint32 -> int
Public Overridable 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.

Implements

Applies to