PrintDriverProperty Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da PrintDriverProperty classe.
Sobrecargas
| Name | Description |
|---|---|
| PrintDriverProperty(String) |
Inicializa uma nova instância da PrintDriverProperty classe para a propriedade especificada. |
| PrintDriverProperty(String, Object) |
Inicializa uma nova instância da PrintDriverProperty classe que tenha o valor especificado para o atributo especificado. |
PrintDriverProperty(String)
Inicializa uma nova instância da PrintDriverProperty classe para a propriedade especificada.
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)
Parâmetros
- attributeName
- String
O nome da PrintDriver propriedade que o PrintDriverProperty representa.
Observações
Deve attributeName ser escrito exatamente da mesma forma que o nome de alguma propriedade particular PrintDriver de um objeto do sistema de impressão, incluindo a caixa. Por exemplo, a QueueDriver propriedade de um PrintQueue objeto deve ser escrita como "QueueDriver", e não como "PrintDriver" ou "Queuedriver".
Aplica-se a
PrintDriverProperty(String, Object)
Inicializa uma nova instância da PrintDriverProperty classe que tenha o valor especificado para o atributo especificado.
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)
Parâmetros
- attributeName
- String
O nome da PrintDriver propriedade que o PrintDriverProperty representa.
- attributeValue
- Object
O valor da propriedade que o PrintDriverProperty representa.
Observações
Deve attributeName ser escrito exatamente da mesma forma que o nome de alguma propriedade particular PrintDriver de um objeto do sistema de impressão, incluindo a caixa. Por exemplo, a QueueDriver propriedade de um PrintQueue objeto deve ser escrita como "QueueDriver", e não como "PrintDriver" ou "Queuedriver".