PrintDriverProperty Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe PrintDriverProperty.
Surcharges
| Nom | Description |
|---|---|
| PrintDriverProperty(String) |
Initialise une nouvelle instance de la PrintDriverProperty classe pour la propriété spécifiée. |
| PrintDriverProperty(String, Object) |
Initialise une nouvelle instance de la classe PrintDriverProperty qui a la valeur spécifiée pour l’attribut spécifié. |
PrintDriverProperty(String)
Initialise une nouvelle instance de la PrintDriverProperty classe pour la propriété spécifiée.
public:
PrintDriverProperty(System::String ^ attributeName);
public PrintDriverProperty(string attributeName);
new System.Printing.IndexedProperties.PrintDriverProperty : string -> System.Printing.IndexedProperties.PrintDriverProperty
Public Sub New (attributeName As String)
Paramètres
- attributeName
- String
Nom de la PrintDriver propriété que représente PrintDriverProperty .
Remarques
L’orthographe attributeName doit être exactement la même que le nom d’une propriété particulière PrintDriver d’un objet système d’impression, y compris la casse. Par exemple, la propriété QueueDriver d’un objet PrintQueue doit être orthographié « QueueDriver », et non « PrintDriver » ou « Queuedriver ».
S’applique à
PrintDriverProperty(String, Object)
Initialise une nouvelle instance de la classe PrintDriverProperty qui a la valeur spécifiée pour l’attribut spécifié.
public:
PrintDriverProperty(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintDriverProperty(string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintDriverProperty : string * obj -> System.Printing.IndexedProperties.PrintDriverProperty
Public Sub New (attributeName As String, attributeValue As Object)
Paramètres
- attributeName
- String
Nom de la PrintDriver propriété que représente PrintDriverProperty .
- attributeValue
- Object
Valeur de la propriété que représente PrintDriverProperty .
Remarques
L’orthographe attributeName doit être exactement la même que le nom d’une propriété particulière PrintDriver d’un objet système d’impression, y compris la casse. Par exemple, la propriété QueueDriver d’un objet PrintQueue doit être orthographié « QueueDriver », et non « PrintDriver » ou « Queuedriver ».