語言

PrintDateTimeProperty 建構函式

定義

初始化 PrintDateTimeProperty 類別的新執行個體。

多載

名稱 Description
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 與列印系統物件(包括 caseing)某些特定 DateTime 屬性的名稱拼寫完全相同。 例如,StartTimeOfDay 物件的 PrintSystemJobInfo 屬性必須拼字為 “StartTimeOfDay”,而不是 “StartTime” 或 “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 與列印系統物件(包括 caseing)某些特定 DateTime 屬性的名稱拼寫完全相同。 例如,StartTimeOfDay 物件的 PrintSystemJobInfo 屬性必須拼字為 “StartTimeOfDay”,而不是 “StartTime” 或 “Starttimeofday”。

適用於