Compartir a través de


Assembly.GetType Method (String)

Gets the Type object that represents a specified class (type) in the current assembly.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Syntax

[MethodImplAttribute(MethodImplOptions.InternalCall)]
public virtual Type GetType (
         string name
)

Parameters

  • name
    The full name of the class you want to look for in the current assembly.

Return Value

The Type object that represents the specified class, or a null reference if that class is not found in the current assembly.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Assembly Class
Assembly Members
System.Reflection Namespace