Share via


GetType Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the Type object that represents the specified type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetType() () () () Gets the Type of the current instance. (Inherited from Object.)
Public method GetType(String) Gets the Type object with the specified name in the assembly instance.
Public method GetType(String, Boolean) Gets the Type object with the specified name in the assembly instance and optionally throws an exception if the type is not found.

Top

See Also

Reference

Assembly Class

System.Reflection Namespace