Type.Module Property
.NET Framework (current version)
Gets the module (the DLL) in which the current Type is defined.
Assembly: mscorlib (in mscorlib.dll)
Implements
_Type.ModuleIf the current Type represents a constructed generic type, this property returns the module in which the generic type definition was defined. For example, if you create an instance of MyGenericStack<int>, the Module property for the constructed type returns the module in which MyGenericStack<T> is defined.
Similarly, if the current Type represents a generic parameter T, this property returns the assembly that contains the generic type that defines T.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: