命名空间: Microsoft.VisualStudio.OLE.Interop
程序集: Microsoft.VisualStudio.OLE.Interop(在 Microsoft.VisualStudio.OLE.Interop.dll 中)
语法
声明
Sub Print ( _
grfFlags As UInteger, _
<OutAttribute> ByRef pptd As IntPtr, _
<OutAttribute> ByRef ppPageSet As IntPtr, _
<OutAttribute> pstgmOptions As STGMEDIUM(), _
pcallback As IContinueCallback, _
nFirstPage As Integer, _
<OutAttribute> ByRef pcPagesPrinted As Integer, _
<OutAttribute> ByRef pnLastPage As Integer _
)
void Print(
uint grfFlags,
out IntPtr pptd,
out IntPtr ppPageSet,
STGMEDIUM[] pstgmOptions,
IContinueCallback pcallback,
int nFirstPage,
out int pcPagesPrinted,
out int pnLastPage
)
参数
- grfFlags
类型:System.UInt32
- pptd
类型:System.IntPtr%
- ppPageSet
类型:System.IntPtr%
- pstgmOptions
类型:array<Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[]
- pcallback
类型:Microsoft.VisualStudio.OLE.Interop.IContinueCallback
- nFirstPage
类型:System.Int32
- pcPagesPrinted
类型:System.Int32%
- pnLastPage
类型:System.Int32%
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。