PrintPropertyDictionary.GetProperty(String) Metoda

Definicja

Pobiera obiekt (klasy, która pochodzi z PrintPropertyklasy ), która reprezentuje określoną właściwość.

public:
 System::Printing::IndexedProperties::PrintProperty ^ GetProperty(System::String ^ attribName);
public System.Printing.IndexedProperties.PrintProperty GetProperty (string attribName);
member this.GetProperty : string -> System.Printing.IndexedProperties.PrintProperty
Public Function GetProperty (attribName As String) As PrintProperty

Parametry

attribName
String

Nazwa właściwości reprezentowanej przez PrintPropertyelement .

Zwraca

Obiekt klasy, która pochodzi z klasy PrintProperty.

Uwagi

Musi attribName być pisownia dokładnie taka sama jak nazwa określonej właściwości obiektu systemu wydruku, w tym wielkości liter. Na przykład QueuePort właściwość PrintQueue obiektu musi być pisownią "QueuePort", a nie "PrintPort", "Port" lub "Queueport".

Dotyczy