Pages

2011年9月13日 星期二

VB.NET判斷物件是否有使用

You can use isNothing() function in VB.net to check if the object is NULL or not

Example:

If IsNothing(yourObject) Then
// Do this
else
//do this
end if

沒有留言:

張貼留言