PrintServerProperty 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 PrintServerProperty classe.
Sobrecargas
| Name | Description |
|---|---|
| PrintServerProperty(String) |
Inicializa uma nova instância da PrintServerProperty classe para a propriedade especificada. |
| PrintServerProperty(String, Object) |
Inicializa uma nova instância da PrintServerProperty classe que tem o valor especificado para a propriedade especificada. |
PrintServerProperty(String)
Inicializa uma nova instância da PrintServerProperty classe para a propriedade especificada.
public:
PrintServerProperty(System::String ^ attributeName);
public PrintServerProperty(string attributeName);
new System.Printing.IndexedProperties.PrintServerProperty : string -> System.Printing.IndexedProperties.PrintServerProperty
Public Sub New (attributeName As String)
Parâmetros
- attributeName
- String
O nome da PrintServer propriedade que o PrintServerProperty representa.
Observações
Deve attributeName ser escrito exatamente da mesma forma que o nome de alguma propriedade particular PrintServer de um objeto do sistema de impressão, incluindo a caixa. Por exemplo, a HostingPrintServer propriedade de um PrintQueue objeto deve ser escrita "HostingPrintServer", e não "PrintServer" ou "Hostingprintserver".
Aplica-se a
PrintServerProperty(String, Object)
Inicializa uma nova instância da PrintServerProperty classe que tem o valor especificado para a propriedade especificada.
public:
PrintServerProperty(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintServerProperty(string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintServerProperty : string * obj -> System.Printing.IndexedProperties.PrintServerProperty
Public Sub New (attributeName As String, attributeValue As Object)
Parâmetros
- attributeName
- String
O nome da PrintServer propriedade que o PrintServerProperty representa.
- attributeValue
- Object
O valor da propriedade que o PrintServerProperty representa.
Observações
Deve attributeName ser escrito exatamente da mesma forma que o nome de alguma propriedade particular PrintServer de um objeto do sistema de impressão, incluindo a caixa. Por exemplo, a HostingPrintServer propriedade de um PrintQueue objeto deve ser escrita "HostingPrintServer", e não "PrintServer" ou "Hostingprintserver".