VsTextImageClass.UnlockImage Method
Notifies that the text image is not in use.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Déclaration
Public Overridable Function UnlockImage ( _
grfLock As UInteger _
) As Integer
public virtual int UnlockImage(
uint grfLock
)
public:
virtual int UnlockImage(
[InAttribute] unsigned int grfLock
)
abstract UnlockImage :
grfLock:uint32 -> int
override UnlockImage :
grfLock:uint32 -> int
public function UnlockImage(
grfLock : uint
) : int
Parameters
- grfLock
Type: System.UInt32
[in] Specifies a locking flag. Values are taken from the BufferLockFlags enumeration.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTextImage.UnlockImage(UInt32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.