Share via


PrintProperty(String) Konstruktor

Definisi

Menginisialisasi instans baru kelas 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)

Parameter

attributeName
String

Nama properti yang diwakili objek ini.

Keterangan

attributeName harus dieja persis sama dengan nama beberapa properti tertentu dari objek sistem cetak, termasuk casing. Misalnya, QueuePort properti PrintQueue objek harus dieja "QueuePort", bukan "PrintPort", "Port", atau "Queueport".

Berlaku untuk