Export (0) Print
Expand All

Assembly.GetType Method

Gets the Type object that represents the specified type.

Overload List

Gets the Type object with the specified name in the assembly instance.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Overridable Function GetType(String) As Type
[C#] public virtual Type GetType(string);
[C++] public: virtual Type* GetType(String*);
[JScript] public function GetType(String) : Type;

Gets the Type object with the specified name in the assembly instance and optionally throws an exception.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Overridable Function GetType(String, Boolean) As Type
[C#] public virtual Type GetType(string, bool);
[C++] public: virtual Type* GetType(String*, bool);
[JScript] public function GetType(String, Boolean) : Type;

Gets the Type object with the specified name in the assembly instance, with the options of ignoring the case, and throwing an exception.

[Visual Basic] Overloads Public Function GetType(String, Boolean, Boolean) As Type
[C#] public Type GetType(string, bool, bool);
[C++] public: Type* GetType(String*, bool, bool);
[JScript] public function GetType(String, Boolean, Boolean) : Type;

Inherited from Object.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function GetType() As Type
[C#] public Type GetType();
[C++] public: Type* GetType();
[JScript] public function GetType() : Type;

See Also

Assembly Class | Assembly Members | System.Reflection Namespace

Show:
© 2014 Microsoft