PrintDateTimeProperty Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy PrintDateTimeProperty.
Przeciążenia
| Nazwa | Opis |
|---|---|
| PrintDateTimeProperty(String) |
Inicjuje nowe wystąpienie PrintDateTimeProperty klasy dla określonej właściwości. |
| PrintDateTimeProperty(String, Object) |
Inicjuje PrintDateTimeProperty nowe wystąpienie klasy, która ma określoną wartość dla określonego atrybutu. |
PrintDateTimeProperty(String)
Inicjuje nowe wystąpienie PrintDateTimeProperty klasy dla określonej właściwości.
public:
PrintDateTimeProperty(System::String ^ attributeName);
public PrintDateTimeProperty(string attributeName);
new System.Printing.IndexedProperties.PrintDateTimeProperty : string -> System.Printing.IndexedProperties.PrintDateTimeProperty
Public Sub New (attributeName As String)
Parametry
- attributeName
- String
Nazwa DateTime właściwości reprezentowanej PrintDateTimeProperty przez obiekt .
Uwagi
Powinna attributeName być wpisana dokładnie tak samo jak nazwa określonej DateTime właściwości obiektu systemu wydruku, w tym wielkości liter. Na przykład StartTimeOfDay właściwość PrintSystemJobInfo obiektu musi być wpisana "StartTimeOfDay", a nie "StartTimeTime" lub "Starttimeofday".
Dotyczy
PrintDateTimeProperty(String, Object)
Inicjuje PrintDateTimeProperty nowe wystąpienie klasy, która ma określoną wartość dla określonego atrybutu.
public:
PrintDateTimeProperty(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintDateTimeProperty(string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintDateTimeProperty : string * obj -> System.Printing.IndexedProperties.PrintDateTimeProperty
Public Sub New (attributeName As String, attributeValue As Object)
Parametry
- attributeName
- String
Nazwa DateTime właściwości reprezentowanej PrintDateTimeProperty przez obiekt .
- attributeValue
- Object
Wartość właściwości, którą PrintDateTimeProperty reprezentuje.
Uwagi
Powinna attributeName być wpisana dokładnie tak samo jak nazwa określonej DateTime właściwości obiektu systemu wydruku, w tym wielkości liter. Na przykład StartTimeOfDay właściwość PrintSystemJobInfo obiektu musi być wpisana "StartTimeOfDay", a nie "StartTimeTime" lub "Starttimeofday".