IOleDocumentView.Clone Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Déclaration
Sub Clone ( _
pIPSiteNew As IOleInPlaceSite, _
<OutAttribute> ByRef ppViewNew As IOleDocumentView _
)
'Utilisation
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
)
abstract Clone :
pIPSiteNew:IOleInPlaceSite *
ppViewNew:IOleDocumentView byref -> unit
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
.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.