Cuemon .NET Framework
NodeAt<T> Method

The type of the instance represented by the specified node in the hierarchical structure.
The node from which the flattening will begin.
The zero-based index at which a node should be retrieved in the hierarchical structure.
Returns the node at the specified index of a hierarchical structure.
Syntax
'Declaration
 
Public Shared Function NodeAt(Of T)( _
   ByVal node As IHierarchy(Of T), _
   ByVal index As Integer _
) As IHierarchy(Of T)
public static IHierarchy<T> NodeAt<T>( 
   IHierarchy<T> node,
   int index
)

Parameters

node
The node from which the flattening will begin.
index
The zero-based index at which a node should be retrieved in the hierarchical structure.

Type Parameters

T
The type of the instance represented by the specified node in the hierarchical structure.

Return Value

The node at the specified index in the hierarchical structure.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionnode is null.
System.ArgumentOutOfRangeExceptionindex is less than zero - or - index exceeded the count of nodes in the hierarchical structure.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Hierarchy Class
Hierarchy Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback