PrintQueue::GetPrintCapabilitiesAsXml Method ()
.NET Framework (current version)
Gets a MemoryStream object that specifies the printer's capabilities as an XML stream that complies with the Print Schema.
Assembly: System.Printing (in System.Printing.dll)
Return Value
Type: System.IO::MemoryStream^A MemoryStream specifying the printer's capabilities by using the XML schema "PrintCapabilities," a part of the Print Schema system.
| Exception | Condition |
|---|---|
| PrintQueueException | The print capabilities could not be retrieved. |
PrintingPermission
for permission to get print capabilities. Associated enumeration: DefaultPrinting
.NET Framework
Available since 3.0
Available since 3.0
Show: