| 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
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