PrintProperty(String) 建構函式

定義

初始化 PrintProperty 類別的新執行個體。

protected:
 PrintProperty(System::String ^ attributeName);
protected PrintProperty (string attributeName);
new System.Printing.IndexedProperties.PrintProperty : string -> System.Printing.IndexedProperties.PrintProperty
Protected Sub New (attributeName As String)

參數

attributeName
String

這個物件所表示屬性的名稱。

備註

attributeName應該拼字與列印系統物件之某些特定屬性的名稱完全相同,包括大小寫。 例如, QueuePort 對象的 屬性 PrintQueue 必須拼字為 “QueuePort”,而不是 “PrintPort”、“Port” 或 “Queueport”。

適用於