ConvertBinder(Type, Boolean) 构造函数

定义

初始化 ConvertBinder 的新实例。Initializes a new instance of the ConvertBinder.

protected:
 ConvertBinder(Type ^ type, bool explicit);
protected ConvertBinder (Type type, bool explicit);
new System.Dynamic.ConvertBinder : Type * bool -> System.Dynamic.ConvertBinder
Protected Sub New (type As Type, explicit As Boolean)

参数

type
Type

要转换为的类型。The type to convert to.

explicit
Boolean

如果应将转换视为显式转换,则为 true;否则为 false。Is true if the conversion should consider explicit conversions; otherwise, false.

适用于