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



anonType
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( _
   ByVal anonType As Type, _
   ByVal shouldRecurse As Boolean _
) As Func(Of Object,Object())
Visual Basic (Usage)Copy Code
Dim anonType As Type
Dim shouldRecurse As Boolean
Dim value As Func(Of Object,Object())
 
value = AnonymousFns.BuildDeconstructorFunc(anonType, shouldRecurse)
C# 
public static Func<object,object[]> BuildDeconstructorFunc( 
   Type anonType,
   bool shouldRecurse
)
C++/CLI 
public:
static Func<Object^,array<Object^>>^ BuildDeconstructorFunc( 
   Type^ anonType,
   bool shouldRecurse
) 

Parameters

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

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.