ISDBTree::CurrentNode: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{MethodDeclaration|SDBTree|ISDBTree|Property Get/Let CurrentNode As ISDBTreeNode}}
{{MethodDeclaration|SDBTree|ISDBTree|Property Get/Let CurrentNode As [[ISDBTreeNode]]}}


===Property description===
===Property description===


Gets or sets the current tree node.
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.
<source lang="vb">
Function Foo
  If Not (SDB.MainTree.CurrentNode Is Nothing) Then
  'do whatever here
  End If
End Function
</source>


[[Category:Scripting|{{PAGENAME}}]]
[[Category:Scripting|{{PAGENAME}}]]

Latest revision as of 23:19, 12 February 2011

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