Udostępnij za pośrednictwem


VsTextImageClass.LockImage(UInt32) Method

Definition

Notifies that the text image is in use.

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