Udostępnij przez


PrintDateTimeProperty Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy PrintDateTimeProperty.

Przeciążenia

PrintDateTimeProperty(String)

Inicjuje PrintDateTimeProperty nowe wystąpienie 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 PrintDateTimeProperty nowe wystąpienie 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, która 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 "StartTime" 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, która PrintDateTimeProperty reprezentuje.

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 "StartTime" lub "Starttimeofday".

Dotyczy