次の方法で共有


PrintQueueProperty コンストラクター

定義

PrintQueueProperty クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
PrintQueueProperty(String)

指定したプロパティの PrintQueueProperty クラスの新しいインスタンスを初期化します。

PrintQueueProperty(String, Object)

指定したプロパティの指定した値を持つ PrintQueueProperty クラスの新しいインスタンスを初期化します。

PrintQueueProperty(String)

指定したプロパティの PrintQueueProperty クラスの新しいインスタンスを初期化します。

public:
 PrintQueueProperty(System::String ^ attributeName);
public PrintQueueProperty(string attributeName);
new System.Printing.IndexedProperties.PrintQueueProperty : string -> System.Printing.IndexedProperties.PrintQueueProperty
Public Sub New (attributeName As String)

パラメーター

attributeName
String

PrintQueuePropertyが表すPrintQueue プロパティの名前。

注釈

attributeNameのスペルは、大文字と小文字を含む、印刷システム オブジェクトの特定のPrintQueue プロパティの名前とまったく同じにする必要があります。 たとえば、PrintSystemJobInfo オブジェクトの HostingPrintQueue プロパティには、"PrintQueue" や "Hostingprintqueue" ではなく、"HostingPrintQueue" というスペルを指定する必要があります。

適用対象

PrintQueueProperty(String, Object)

指定したプロパティの指定した値を持つ PrintQueueProperty クラスの新しいインスタンスを初期化します。

public:
 PrintQueueProperty(System::String ^ attributeName, System::Object ^ attributeValue);
public PrintQueueProperty(string attributeName, object attributeValue);
new System.Printing.IndexedProperties.PrintQueueProperty : string * obj -> System.Printing.IndexedProperties.PrintQueueProperty
Public Sub New (attributeName As String, attributeValue As Object)

パラメーター

attributeName
String

PrintQueuePropertyが表すPrintQueue プロパティの名前。

attributeValue
Object

PrintQueuePropertyが表すプロパティの値。

注釈

attributeNameのスペルは、大文字と小文字を含む、印刷システム オブジェクトの特定のPrintQueue プロパティの名前とまったく同じにする必要があります。 たとえば、PrintSystemJobInfo オブジェクトの HostingPrintQueue プロパティには、"PrintQueue" や "Hostingprintqueue" ではなく、"HostingPrintQueue" というスペルを指定する必要があります。

適用対象