Property |
Description |
Assembly |
Gets the Assembly for this type |
AssemblyQualifiedName |
Gets the Assembly qualified name for this type |
Attributes |
Gets the Attributes associated with the type |
Base Type |
Gets the base or parent type. |
Full Name |
Gets the fully qualified name of the type. |
Is Abstract |
Is used to check if the type is Abstract. |
Is Array |
Is used to check if the type is Array. |
Is Class |
Is used to check if the type is Class. |
Is Enum |
Is used to check if the type is Enum. |
Is Interface |
Is used to check if the type is Interface. |
Is Nested |
Is used to check if the type is Nested. |
Is Primitive |
Is used to check if the type is Primitive. |
Is Pointer |
Is used to check if the type is Pointer |
Is Not Public |
Is used to check if the type is not Public. |
Is Public |
Is used to check if the type is Public. |
Is Sealed |
Is used to check if the type is Sealed. |
Is Serializable |
Is used to check if the type is Serializable. |
Member Type |
Is used to check if the type is Member type of Nested type. |
Module |
Gets the module of the type |
Name |
Gets the name of the type |
Namespace |
Gets the namespace of the type |
Method |
Description |
Get Constructors () |
Returns all the public constructors for the Type |
Get Constructors (Binding Flags) |
Returns all the constructors for the Type with specified Binding Flags. |
Get Fields () |
Returns all the public fields for the Type. |
Get Fields (Binding Flags) |
Returns all the public constructors for the Type with specified Binding Flags. |
Get Members (Binding Flags) |
Returns all the members for the Type with specified Binding Flags. |
Get Methods (Binding Flags) |
Returns all the methods for the Type with specified Binding Flags. |
Get Properties () |
Returns all the public properties for the Type. |
Get Properties (Binding Flags) |
Returns all the properties for the Type with specified BindingFlags. |
Get Type () |
Gets the current Type. |
Get Type (String) |
Gets the Type for the given name. |
C# Reflection Example: Get Type
C# Reflection Example: Get Assembly
C# Reflection Example: Print Constructors
C# Reflection Example: Print Methods
C# Reflection Example: Print Fields