PrintServerProperty 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 PrintServerProperty 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| PrintServerProperty(String) |
初始化該類別的新實例 PrintServerProperty ,以符合指定屬性。 |
| PrintServerProperty(String, Object) |
初始化一個類別的新實例 PrintServerProperty ,該類別的值與指定屬性相同。 |
PrintServerProperty(String)
初始化該類別的新實例 PrintServerProperty ,以符合指定屬性。
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)
參數
- attributeName
- String
代表的房產PrintServer名稱PrintServerProperty。
備註
該 應 attributeName 與列印系統物件(包括 caseing)某些特定 PrintServer 屬性的名稱拼寫完全相同。 例如,HostingPrintServer 物件的 PrintQueue 屬性必須拼字為 “HostingPrintServer”,而不是 “PrintServer” 或 “Hostingprintserver”。
適用於
PrintServerProperty(String, Object)
初始化一個類別的新實例 PrintServerProperty ,該類別的值與指定屬性相同。
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)
參數
- attributeName
- String
代表的房產PrintServer名稱PrintServerProperty。
- attributeValue
- Object
該房產 PrintServerProperty 所代表的價值。
備註
該 應 attributeName 與列印系統物件(包括 caseing)某些特定 PrintServer 屬性的名稱拼寫完全相同。 例如,HostingPrintServer 物件的 PrintQueue 屬性必須拼字為 “HostingPrintServer”,而不是 “PrintServer” 或 “Hostingprintserver”。