Assembly.GetAssembly Method
Gets the assembly in which a specified class (type) is defined.
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Syntax
public static Assembly GetAssembly (
Typetype
)
Parameters
- type
A Type object that represents a specific class defined in the assembly you want to get.
Return Value
The assembly in which the specified class is defined.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.