PrintStreamProperty 建構函式

定義

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

多載

PrintStreamProperty(String)

初始化所指定之屬性之 PrintStreamProperty 類別的新執行個體。

PrintStreamProperty(String, Object)

初始化指定屬性擁有指定值之 PrintStreamProperty 類別的新執行個體。

PrintStreamProperty(String)

初始化所指定之屬性之 PrintStreamProperty 類別的新執行個體。

public:
 PrintStreamProperty(System::String ^ attributeName);
public PrintStreamProperty (string attributeName);
new System.Printing.IndexedProperties.PrintStreamProperty : string -> System.Printing.IndexedProperties.PrintStreamProperty
Public Sub New (attributeName As String)

參數

attributeName
String

Stream 表示之 PrintStreamProperty 屬性的名稱。

備註

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

適用於

PrintStreamProperty(String, Object)

初始化指定屬性擁有指定值之 PrintStreamProperty 類別的新執行個體。

public:
 PrintStreamProperty(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintStreamProperty (string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintStreamProperty : string * obj -> System.Printing.IndexedProperties.PrintStreamProperty
Public Sub New (attributeName As String, attributeValue As Object)

參數

attributeName
String

Stream 表示之 PrintStreamProperty 屬性的名稱。

attributeValue
Object

PrintStreamProperty 所表示屬性的值。

備註

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

適用於