IOleDocument.CreateView Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub CreateView ( _
pIPSite As IOleInPlaceSite, _
pstm As IStream, _
dwReserved As UInteger, _
<OutAttribute> ByRef ppView As IOleDocumentView _
)
void CreateView(
IOleInPlaceSite pIPSite,
IStream pstm,
uint dwReserved,
out IOleDocumentView ppView
)
Parameters
- pIPSite
Type: Microsoft.VisualStudio.OLE.Interop.IOleInPlaceSite
- pstm
Type: Microsoft.VisualStudio.OLE.Interop.IStream
- dwReserved
Type: System.UInt32
- ppView
Type: Microsoft.VisualStudio.OLE.Interop.IOleDocumentView%
Remarks
For information on the COM interface, see IOleDocument::CreateView
.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.