Partager via


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

'Declaration
Function ShowDocumentHolder As Integer
int ShowDocumentHolder()
int ShowDocumentHolder()
abstract ShowDocumentHolder : unit -> int
function ShowDocumentHolder() : int

Return Value

Type: 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

See Also

Reference

IVsDocumentLockHolder Interface

Microsoft.VisualStudio.Shell.Interop Namespace