ConvertEventArgs(Object, Type) 构造函数

定义

初始化 ConvertEventArgs 类的新实例。

public:
 ConvertEventArgs(System::Object ^ value, Type ^ desiredType);
public ConvertEventArgs (object value, Type desiredType);
public ConvertEventArgs (object? value, Type? desiredType);
new System.Windows.Forms.ConvertEventArgs : obj * Type -> System.Windows.Forms.ConvertEventArgs
Public Sub New (value As Object, desiredType As Type)

参数

value
Object

包含当前属性值的 Object

desiredType
Type

值的 Type

适用于