PrintDriverProperty Constructeurs

Définition

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 ».

S’applique à