IOleDocumentView.Clone Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub Clone ( _
pIPSiteNew As IOleInPlaceSite, _
<OutAttribute> ByRef ppViewNew As IOleDocumentView _
)
'使用
Dim instance As IOleDocumentView
Dim pIPSiteNew As IOleInPlaceSite
Dim ppViewNew As IOleDocumentView
instance.Clone(pIPSiteNew, ppViewNew)
void Clone(
IOleInPlaceSite pIPSiteNew,
out IOleDocumentView ppViewNew
)
void Clone(
[InAttribute] IOleInPlaceSite^ pIPSiteNew,
[OutAttribute] IOleDocumentView^% ppViewNew
)
function Clone(
pIPSiteNew : IOleInPlaceSite,
ppViewNew : IOleDocumentView
)
Parameters
- pIPSiteNew
Type: Microsoft.VisualStudio.OLE.Interop.IOleInPlaceSite
- ppViewNew
Type: Microsoft.VisualStudio.OLE.Interop.IOleDocumentView%
Remarks
For information on the COM interface, see IOleDocumentView::Clone
Permissions
- 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.