DevForce Help Reference
BuildDeconstructorFunc(Type,Boolean) Method


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
'Declaration
 
Public Overloads Shared Function BuildDeconstructorFunc( _
   ByVal anonType As Type, _
   ByVal shouldRecurse As Boolean _
) As Func(Of Object,Object())
'Usage
 
Dim anonType As Type
Dim shouldRecurse As Boolean
Dim value As Func(Of Object,Object())
 
value = AnonymousFns.BuildDeconstructorFunc(anonType, shouldRecurse)
public static Func<object,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 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

AnonymousFns Class
AnonymousFns Members
Overload List

Send Feedback