ISDBTree::CurrentNode: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
< | <source lang="vb"> | ||
Function Foo | Function Foo | ||
If Not (SDB.MainTree.CurrentNode Is Nothing) Then | If Not (SDB.MainTree.CurrentNode Is Nothing) Then | ||
Line 14: | Line 14: | ||
End If | End If | ||
End Function | End Function | ||
</ | </source> | ||
Revision as of 19:17, 12 March 2008
CoClass SDBTree, Interface ISDBTree
Property Get/Let CurrentNode As ISDBTreeNode
Property description
Gets or sets the current tree node.
To avoid object errors during runtime, you should always verify the object is valid before using or referencing it.
Function Foo
If Not (SDB.MainTree.CurrentNode Is Nothing) Then
'do whatever here
End If
End Function