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
'宣告
Private Function ShowDocumentHolder As Integer
Implements IVsDocumentLockHolder.ShowDocumentHolder
int IVsDocumentLockHolder.ShowDocumentHolder()
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
- 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.