|
-
May 6th, 2013, 06:04 PM
#6
Re: Reference to caller form's public variable/function
CType isn't bad. DirectCast is better where it works, but only because it is faster. You'd have to be performing thousands of them to see the speed difference, though, and even then it would be only a millisecond or two, so you would have a hard time seeing thousands of them. However, DirectCast does have some limitations that CType doesn't have. Therefore, don't worry too much about using CType.
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|