Partager via


AppDomain.CreateInstanceAndUnwrap Method

Creates a new instance of the specified type. Parameters specify the name of the type and the display name of the assembly where the type is defined.

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

Syntax

public Object CreateInstanceAndUnwrap (
         stringassemblyName,
         stringtypeName
)

Parameters

  • assemblyName
    The display name of the assembly.
  • typeName
    The fully qualified name of the requested type.

Return Value

An instance of the object specified by the typeName parameter.

Version Information

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

See Also

Reference

AppDomain Class
AppDomain Members
System Namespace