ערוך

שתף באמצעות


PrintServerProperty Constructors

Definition

Initializes a new instance of the PrintServerProperty class.

Overloads

PrintServerProperty(String)

Initializes a new instance of the PrintServerProperty class for the specified property.

PrintServerProperty(String, Object)

Initializes a new instance of the PrintServerProperty class that has the specified value for the specified property.

PrintServerProperty(String)

Initializes a new instance of the PrintServerProperty class for the specified property.

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)

Parameters

attributeName
String

The name of the PrintServer property that the PrintServerProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular PrintServer property of a print system object, including casing. For example, the HostingPrintServer property of a PrintQueue object must be spelled "HostingPrintServer", not "PrintServer" or "Hostingprintserver".

Applies to

PrintServerProperty(String, Object)

Initializes a new instance of the PrintServerProperty class that has the specified value for the specified property.

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)

Parameters

attributeName
String

The name of the PrintServer property that the PrintServerProperty represents.

attributeValue
Object

The value of the property that the PrintServerProperty represents.

Remarks

The attributeName should be spelled exactly the same as the name of some particular PrintServer property of a print system object, including casing. For example, the HostingPrintServer property of a PrintQueue object must be spelled "HostingPrintServer", not "PrintServer" or "Hostingprintserver".

Applies to