Share via


GetPreviousSibling Method

Retrieves the node's previous TreeNode sibling.

Syntax

Visual Basic  Protected  Function 
GetPreviousSibling( ) As TreeNode
C# protected  TreeNode 
GetPreviousSibling( );
Managed C++ protected:  TreeNode 
GetPreviousSibling( );
JScript protected  function
GetPreviousSibling( );

Return Value

The previous TreeNode sibling of the current node.

Remarks

If there are no previous siblings of a TreeNode, this method will return null.

Applies To

TREENODE

See Also

Internet Explorer WebControls, About the TreeView WebControl