in VB?
Like the explicit type cast operator in C#.
Thanks.
w**w 发帖数: 5391
2
CType
【在 y*****g 的大作中提到】 : in VB? : Like the explicit type cast operator in C#. : Thanks.
y*****g 发帖数: 2
3
I meant "how to define", not how to cast.
CType will throw exception if it couldn't find the definition of the
conversion function. My question is where a way to write such definitions.