LINQ and Reflection
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

LINQ and Reflection

The .NET Framework class library reflection APIs can be used to examine the metadata in a .NET assembly and create collections of types, type members, parameters, and so on that are in that assembly. Because these collections support the generic IEnumerable interface, they can be queried by using LINQ.

For more information, see the Reflector Sample sample application.

This section contains the following topics:

How to: Query An Assembly's Metadata with Reflection (LINQ)

Shows how to use LINQ with reflection.

Show:
© 2016 Microsoft