IVsDocumentLockHolder.ShowDocumentHolder Method
Called by the environment before prompting the user to save the invisible document locked by the holder.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣告
Function ShowDocumentHolder As Integer
'用途
Dim instance As IVsDocumentLockHolder
Dim returnValue As Integer
returnValue = instance.ShowDocumentHolder()
int ShowDocumentHolder()
int ShowDocumentHolder()
abstract ShowDocumentHolder : unit -> int
function ShowDocumentHolder() : int
Return Value
Type: System.Int32
Remarks
The IVsDocumentLockHolder::ShowDocumentHolder method is called when the document is going to be opened by an editor managed by the environment and the environment needs to close the invisible lock holder first. The environment calls this method before closing the document so the document is active when the Save dialog box is displayed. This method is called before prompting the user to save the invisible document locked by the holder.
.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.