Metoda IPrint.Print —
Przestrzeń nazw: Microsoft.VisualStudio.OLE.Interop
Zestaw: Microsoft.VisualStudio.OLE.Interop (w Microsoft.VisualStudio.OLE.Interop.dll)
Składnia
'Deklaracja
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
)
Parametry
- grfFlags
Typ: System.UInt32
- pptd
Typ: System.IntPtr%
- ppPageSet
Typ: System.IntPtr%
- pstgmOptions
Typ: array<Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[]
- pcallback
Typ: Microsoft.VisualStudio.OLE.Interop.IContinueCallback
- nFirstPage
Typ: System.Int32
- pcPagesPrinted
Typ: System.Int32%
- pnLastPage
Typ: System.Int32%
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..