Sdílet prostřednictvím


PrintDateTimeProperty Konstruktory

Definice

Inicializuje novou instanci PrintDateTimeProperty třídy.

Přetížení

PrintDateTimeProperty(String)

Inicializuje novou instanci PrintDateTimeProperty třídy pro zadanou vlastnost.

PrintDateTimeProperty(String, Object)

Inicializuje novou instanci PrintDateTimeProperty třídy, která má zadanou hodnotu pro zadaný atribut.

PrintDateTimeProperty(String)

Inicializuje novou instanci PrintDateTimeProperty třídy pro zadanou vlastnost.

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

Název DateTime vlastnosti, kterou PrintDateTimeProperty představuje.

Poznámky

Hodnota attributeName by měla být napsaná přesně stejně jako název určité DateTime vlastnosti objektu tiskového systému, včetně písmen. Například StartTimeOfDay vlastnost objektu PrintSystemJobInfo musí být napsaná "StartTimeOfDay", nikoli "StartTime" nebo "Starttimeofday".

Platí pro

PrintDateTimeProperty(String, Object)

Inicializuje novou instanci PrintDateTimeProperty třídy, která má zadanou hodnotu pro zadaný atribut.

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

Název DateTime vlastnosti, kterou PrintDateTimeProperty představuje.

attributeValue
Object

Hodnota vlastnosti, kterou PrintDateTimeProperty představuje.

Poznámky

Hodnota attributeName by měla být napsaná přesně stejně jako název určité DateTime vlastnosti objektu tiskového systému, včetně písmen. Například StartTimeOfDay vlastnost objektu PrintSystemJobInfo musí být napsaná "StartTimeOfDay", nikoli "StartTime" nebo "Starttimeofday".

Platí pro