次の方法で共有


PrintQueueAttributeProperty コンストラクター

定義

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

オーバーロード

名前 説明
PrintQueueAttributeProperty(String)

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

PrintQueueAttributeProperty(String, Object)

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

PrintQueueAttributeProperty(String)

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

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

パラメーター

attributeName
String

PrintQueueAttributePropertyが表すPrintQueueAttributes プロパティの名前。

注釈

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

適用対象

PrintQueueAttributeProperty(String, Object)

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

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

パラメーター

attributeName
String

PrintQueueAttributePropertyが表すPrintQueueAttributes プロパティの名前。

attributeValue
Object

PrintQueueAttributePropertyが表すプロパティObjectの値。

注釈

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

適用対象