Cuemon .NET Framework
SiblingsAndSelf<T> Method

The type of the instance represented by the specified node in the hierarchical structure.
The node that the hierarchical structure represents.
Gets all siblings and self after the current node in the hierarchical structure.
Syntax
'Declaration
 
Public Shared Function SiblingsAndSelf(Of T)( _
   ByVal node As IHierarchy(Of T) _
) As IEnumerable(Of IHierarchy(Of T))
public static IEnumerable<IHierarchy<T>> SiblingsAndSelf<T>( 
   IHierarchy<T> node
)

Parameters

node
The node that the hierarchical structure represents.

Type Parameters

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

Return Value

An IEnumerable sequence equal to the siblings and self of the specified node.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionnode is null.
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