語言

PrintServerLoggingProperty 建構函式

定義

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

多載

名稱 Description
PrintServerLoggingProperty(String)

初始化該類別的新實例 PrintServerLoggingProperty ,以符合指定屬性。

PrintServerLoggingProperty(String, Object)

初始化一個類別的新實例 PrintServerLoggingProperty ,該類別的值與指定屬性相同。

PrintServerLoggingProperty(String)

初始化該類別的新實例 PrintServerLoggingProperty ,以符合指定屬性。

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

參數

attributeName
String

代表的房產PrintServerEventLoggingTypes名稱PrintServerLoggingProperty。

備註

該 應 attributeName 與列印系統物件(包括 caseing)某些特定 PrintServerEventLoggingTypes 屬性的名稱拼寫完全相同。 例如,EventLog 物件的 PrintServer 屬性必須拼字為 “EventLog”,而不是 “Events” 或 “Eventlog”。

適用於

PrintServerLoggingProperty(String, Object)

初始化一個類別的新實例 PrintServerLoggingProperty ,該類別的值與指定屬性相同。

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

參數

attributeName
String

代表的房產PrintServerEventLoggingTypes名稱PrintServerLoggingProperty。

attributeValue
Object

該房產 PrintServerLoggingProperty 所代表的價值。

備註

該 應 attributeName 與列印系統物件(包括 caseing)某些特定 PrintServerEventLoggingTypes 屬性的名稱拼寫完全相同。 例如,EventLog 物件的 PrintServer 屬性必須拼字為 “EventLog”,而不是 “Events” 或 “Eventlog”。

適用於