Condividi tramite


DocData.IVsDocumentLockHolder.ShowDocumentHolder Method

Called by Visual Studio to show the window frame associated with this document.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Dichiarazione
Private Function ShowDocumentHolder As Integer
    Implements IVsDocumentLockHolder.ShowDocumentHolder
'Utilizzo
Dim instance As DocData
Dim returnValue As Integer

returnValue = CType(instance, IVsDocumentLockHolder).ShowDocumentHolder()
int IVsDocumentLockHolder.ShowDocumentHolder()
private:
virtual int ShowDocumentHolder() sealed = IVsDocumentLockHolder::ShowDocumentHolder
private abstract ShowDocumentHolder : unit -> int 
private override ShowDocumentHolder : unit -> int 
JScript does not support explicit interface implementations.

Return Value

Type: System.Int32
If the method succeeded, S_OK, otherwise an error code.

Implements

IVsDocumentLockHolder.ShowDocumentHolder()

Remarks

This is used to display a document to the user while notifying the user that it must be closed to open a new editor.

.NET Framework Security

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace

CloseDocumentHolder