How can I validate the object before accessing it? The IsNull is not available under asp .net version.

I try to see if the treenode exist in the treeview or not.

Here is my code:

dim userNode as TreeNode = TreeViewInbound.GetNodeFromIndex (strUser)

Thanks for the information