PrintDateTimeProperty 类

定义

表示打印系统硬件或软件组件的 DateTime 属性(及其值)。

public ref class PrintDateTimeProperty sealed : System::Printing::IndexedProperties::PrintProperty
[System.Serializable]
public sealed class PrintDateTimeProperty : System.Printing.IndexedProperties.PrintProperty
public sealed class PrintDateTimeProperty : System.Printing.IndexedProperties.PrintProperty
[<System.Serializable>]
type PrintDateTimeProperty = class
    inherit PrintProperty
type PrintDateTimeProperty = class
    inherit PrintProperty
Public NotInheritable Class PrintDateTimeProperty
Inherits PrintProperty
继承
PrintDateTimeProperty
属性

构造函数

PrintDateTimeProperty(String)

针对指定的属性初始化 PrintDateTimeProperty 类的新实例。

PrintDateTimeProperty(String, Object)

初始化 PrintDateTimeProperty 类的一个新实例,该类具有指定特性的指定值。

属性

IsDisposed

获取或设置一个值,该值指示该对象是否已被释放。

(继承自 PrintProperty)
IsInitialized

获取或设置一个值,该值指示该对象是否已初始化。

(继承自 PrintProperty)
Name

在派生类中重写时,获取该对象表示的属性的名称。

(继承自 PrintProperty)
Value

获取或设置 PrintDateTimeProperty 表示的属性的值。

方法

Dispose()

释放正在由 PrintProperty 使用的所有资源。

(继承自 PrintProperty)
Dispose(Boolean)

释放正在由 PrintProperty 占用的非托管资源,还可以另外再释放托管资源。

(继承自 PrintProperty)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
InternalDispose(Boolean)

释放正在由 PrintProperty 占用的非托管资源,还可以另外再释放托管资源。

(继承自 PrintProperty)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
OnDeserialization(Object)

在派生类中重写时,实现 ISerializable 接口,并在完成反序列化之后引发反序列化事件。

(继承自 PrintProperty)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

运算符

Implicit(PrintDateTimeProperty to ValueType)

提供从指向 PrintDateTimeProperty 的指针到 DateTime的隐式转换。

适用于