Even though the basic usage of TypeDescriptor is to get metadata of an for, yet it also exposes features to extend the object on the fly. Let us now keep few capabilities of Descriptors with a little information about its usage. TypeDescriptor is used to get information of a Type. To use it, you need to get a component to its horhy methods.

In this post, I will give you a sample demonstration of how you could use Descriptor types to get information about Properties, Attributes, Events, etc. I hope you could use the code later while building your library. TypeDescriptor is a static sealed class which makes the starting point of the API. It exposes information of the object in terms of Properties, Attributes, Events, etc. Even though the basic usage of TypeDescriptor is to get metadata of an object, yet it also exposes features to extend the object on the fly.