Reflection : Type : Reflection C# Examples


C# Examples » Reflection » Type »

 

Reflection





System.Type is derived from an abstract class called System.Reflection.MemberInfo.
MemberInfo defines the following abstract, read-only properties:



Return Type
Method Name
Meanings


Type
DeclaringType
The type of the class or interface in which the member is declared.


MemberTypes
MemberType
The type of the member.


string
Name
The name of the type.


Type
ReflectedType
The type of the object being reflected.



MemberTypes is an enumeration:

MemberTypes.Constructor
MemberTypes.Method
MemberTypes.Field
MemberTypes.Event
MemberTypes.Property




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Reflection
» Type