共用方式為


IVsTextImage.UnlockImage 方法

通知文字影像不在使用中。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
Function UnlockImage ( _
    grfLock As UInteger _
) As Integer
int UnlockImage(
    uint grfLock
)
int UnlockImage(
    [InAttribute] unsigned int grfLock
)
abstract UnlockImage : 
        grfLock:uint32 -> int
function UnlockImage(
    grfLock : uint
) : int

參數

  • grfLock
    類型:UInt32

    [in]指定鎖定的旗標。 值取自BufferLockFlags列舉型別。

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

環境可以要求在有一個呼叫的文字影像上的鎖定LockImage

COM 簽章

從 textmgr.idl:

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

.NET Framework 安全性

請參閱

參考

IVsTextImage 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間