Langue

PrintDateTimeProperty Constructeurs

Définition

Initialise une nouvelle instance de la classe PrintDateTimeProperty.

Surcharges

Nom Description
PrintDateTimeProperty(String)

Initialise une nouvelle instance de la PrintDateTimeProperty classe pour la propriété spécifiée.

PrintDateTimeProperty(String, Object)

Initialise une nouvelle instance de la classe PrintDateTimeProperty qui a la valeur spécifiée pour l’attribut spécifié.

PrintDateTimeProperty(String)

Initialise une nouvelle instance de la PrintDateTimeProperty classe pour la propriété spécifiée.

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)

Paramètres

attributeName
String

Nom de la DateTime propriété que représente PrintDateTimeProperty .

Remarques

L’orthographe attributeName doit être exactement la même que le nom d’une propriété particulière DateTime d’un objet système d’impression, y compris la casse. Par exemple, la propriété StartTimeOfDay d’un objet PrintSystemJobInfo doit être orthographié « StartTimeOfDay », et non « StartTime » ou « Starttimeofday ».

S’applique à

PrintDateTimeProperty(String, Object)

Initialise une nouvelle instance de la classe PrintDateTimeProperty qui a la valeur spécifiée pour l’attribut spécifié.

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)

Paramètres

attributeName
String

Nom de la DateTime propriété que représente PrintDateTimeProperty .

attributeValue
Object

Valeur de la propriété que représente PrintDateTimeProperty .

Remarques

L’orthographe attributeName doit être exactement la même que le nom d’une propriété particulière DateTime d’un objet système d’impression, y compris la casse. Par exemple, la propriété StartTimeOfDay d’un objet PrintSystemJobInfo doit être orthographié « StartTimeOfDay », et non « StartTime » ou « Starttimeofday ».

S’applique à