However , you cannot rely on this behavior for all casesthere are many variable types that cannot be automatically converted 但是,不能永远都依赖这种行为有许多变量类型是不能自动转换的。因此,始终使用
Flag can also be used with any variant type to indicate that the contents of the variant are being passed by reference instead of by value 标志也可以与任何变量类型一起使用以指示变量的内容通过引用而不是通过值传递。
Object variables that contain intrinsic variable types , such as integer , are displayed and edited in a manner that may appear counterintuitive 包含内部变量类型(如整型)的对象变量的显示和编辑方式可能看起来不够直观。
As a side note , tied arrays happen to be the most complex tied variable type , and the least often implemented on cpan by my count 顺便说一下,绑定的数组正好是最复杂的绑定变量类型,而且根据我的统计在cpan上也实现得最少。
The exception that is thrown by the marshaler when it encounters an argument of a variant type that cannot be marshaled to managed code 当封送拆收器遇到无法封送处理到托管代码的变量类型的参数时,由该封送拆收器引发的异常。
Variant types passed from com to managed code and then back to com might not retain the same variant type for the duration of the call 从com传递给托管代码,然后再传回到com的变量类型可能无法在调用的持续时间内保持为同样的变量类型。
The token returned by this method overload allows you to define a local variable type , and emit msil to create an instance of a type in the dynamic method associated with the current 由此方法重载返回的标记允许您定义局部变量类型,并发出用来在与当前
The following table identifies each variant type and the corresponding object type that the marshaler creates when a variant is passed from com to the . net framework 下表标识每个变量类型以及在将变量从com传递给. net framework时封送拆收器所创建的相应对象类型。
The session - variable type must be either a primitive . net type or serializable , because the session - variable value is stored in an external data store 以外的会话状态模式时,会话变量类型必须为基元. net类型或可序列化的,原因是会话变量值存储在外部数据存储区中。
If the object is an instance of any type listed in the following table , the resulting variant type is determined by the rules built into the marshaler and shown in the table 如果对象是下表中列出的任何类型的实例,则得到的变量类型由内置在封送拆收器中的规则确定,并显示在表中。