IOleDocument.CreateView Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub CreateView ( _
pIPSite As IOleInPlaceSite, _
pstm As IStream, _
dwReserved As UInteger, _
<OutAttribute> ByRef ppView As IOleDocumentView _
)
'使用
Dim instance As IOleDocument
Dim pIPSite As IOleInPlaceSite
Dim pstm As IStream
Dim dwReserved As UInteger
Dim ppView As IOleDocumentView
instance.CreateView(pIPSite, pstm, dwReserved, _
ppView)
void CreateView(
IOleInPlaceSite pIPSite,
IStream pstm,
uint dwReserved,
out IOleDocumentView ppView
)
void CreateView(
[InAttribute] IOleInPlaceSite^ pIPSite,
[InAttribute] IStream^ pstm,
[InAttribute] unsigned int dwReserved,
[OutAttribute] IOleDocumentView^% ppView
)
function CreateView(
pIPSite : IOleInPlaceSite,
pstm : IStream,
dwReserved : uint,
ppView : IOleDocumentView
)
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
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.