Language

PrintDriverProperty コンストラクター

定義

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

オーバーロード

Name 説明
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" というスペルを指定する必要があります。

適用対象