次の方法で共有


PrintDriverProperty コンストラクター

定義

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

オーバーロード

PrintDriverProperty(String)

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

PrintDriverProperty(String, Object)

指定した属性に対して指定した値を持つ PrintDriverProperty クラスの新しいインスタンスを初期化します。

PrintDriverProperty(String)

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

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)

パラメーター

attributeName
String

PrintDriver が表す PrintDriverProperty プロパティの名前。

注釈

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

適用対象

PrintDriverProperty(String, Object)

指定した属性に対して指定した値を持つ PrintDriverProperty クラスの新しいインスタンスを初期化します。

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)

パラメーター

attributeName
String

PrintDriver が表す PrintDriverProperty プロパティの名前。

attributeValue
Object

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

注釈

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

適用対象