次の方法で共有


PrintDateTimeProperty コンストラクター

定義

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

オーバーロード

PrintDateTimeProperty(String)

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

PrintDateTimeProperty(String, Object)

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

PrintDateTimeProperty(String)

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

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

パラメーター

attributeName
String

DateTime が表す PrintDateTimeProperty プロパティの名前。

注釈

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

適用対象

PrintDateTimeProperty(String, Object)

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

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

パラメーター

attributeName
String

DateTime が表す PrintDateTimeProperty プロパティの名前。

attributeValue
Object

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

注釈

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

適用対象