GlobalModule.Printers 屬性
這個應用程式開發介面支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。
這個類別支援 .NET Framework 基礎結構,而且不能直接從程式碼使用。
命名空間: Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6
組件: Microsoft.VisualBasic.PowerPacks.Vs (在 Microsoft.VisualBasic.PowerPacks.Vs.dll 中)
語法
'宣告
Public Shared ReadOnly Property Printers As PrinterCollection
public static PrinterCollection Printers { get; }
public:
static property PrinterCollection^ Printers {
PrinterCollection^ get ();
}
static member Printers : PrinterCollection with get
static function get Printers () : PrinterCollection
屬性值
類型:Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6.PrinterCollection
在升級期間使用的 PrinterCollection。
備註
在升級期間,提供 Printer 模組支援使用。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 命名空間
其他資源
How to: Fix Upgrade Errors by Using the Printer Compatibility Library (Visual Basic)
Deploying Applications That Reference the Printer Compatibility Library