T
IdeaBlade DevForce 2010 Help Reference
BuildDeconstructorFunc<T>(Boolean) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > AnonymousFns Class > BuildDeconstructorFunc Method : BuildDeconstructorFunc<T>(Boolean) Method



shouldRecurse
Whether to recursively perform the same operation on any values in the anonymous type that are themselves instances of an anonymous type
Returns a function that can deconstruct instances of a specified anonymous type.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function BuildDeconstructorFunc(Of T)( _
   ByVal shouldRecurse As Boolean _
) As Func(Of T,Object())
Visual Basic (Usage)Copy Code
Dim shouldRecurse As Boolean
Dim value As Func(Of T,Object())
 
value = AnonymousFns.BuildDeconstructorFunc(Of T)(shouldRecurse)
C# 
public static Func<T,object[]> BuildDeconstructorFunc<T>( 
   bool shouldRecurse
)
C++/CLI 
public:
static Func<T^,array<Object^>>^ BuildDeconstructorFuncgeneric<typename T>
( 
   bool shouldRecurse
) 

Parameters

shouldRecurse
Whether to recursively perform the same operation on any values in the anonymous type that are themselves instances of an anonymous type

Type Parameters

T

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.