Assembly Methods
The methods of the Assembly class are listed here. For a complete list of Assembly class members, see the Assembly Members topic.
Public Methods
CreateInstance Supported by the .NET Compact Framework. | Overloaded. Locates a type from this assembly and creates an instance of it using the system activator. |
![]() CreateQualifiedName | Creates the name of a type qualified by the display name of its assembly. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
![]() GetAssembly | Gets the assembly in which the specified class is defined. |
![]() GetCallingAssembly Supported by the .NET Compact Framework. | Returns the Assembly of the method that invoked the currently executing method. |
GetCustomAttributes | Overloaded. Gets the custom attributes for this assembly. |
![]() GetEntryAssembly | Gets the process executable in the default application domain. In other application domains, this is the first executable that was executed by AppDomain.ExecuteAssembly. |
![]() GetExecutingAssembly Supported by the .NET Compact Framework. | Gets the Assembly that the current code is running from. |
GetExportedTypes | Gets the exported types defined in this assembly. |
GetFile | Gets a FileStream for the specified file in the file table of the manifest of this assembly. |
GetFiles | Overloaded. Gets the files in the file table of an assembly manifest. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLoadedModules | Overloaded. Gets all the loaded modules that are part of this assembly. |
GetManifestResourceInfo | Returns information about how the given resource has been persisted. |
GetManifestResourceNames Supported by the .NET Compact Framework. | Returns the names of all the resources in this assembly. |
GetManifestResourceStream Supported by the .NET Compact Framework. | Overloaded. Loads the specified manifest resource from this assembly. |
GetModule | Gets the specified module in this assembly. |
GetModules Supported by the .NET Compact Framework. | Overloaded. Gets all the modules that are part of this assembly. |
GetName Supported by the .NET Compact Framework. | Overloaded. Gets an AssemblyName for this assembly. |
GetObjectData | Gets serialization information with all of the data needed to reinstantiate this assembly. |
GetReferencedAssemblies | Gets the AssemblyName objects for all the assemblies referenced by this assembly. |
GetSatelliteAssembly Supported by the .NET Compact Framework. | Overloaded. Gets the satellite assembly. |
GetType Supported by the .NET Compact Framework. | Overloaded. Gets the Type object that represents the specified type. |
GetTypes Supported by the .NET Compact Framework. | Gets the types defined in this assembly. |
IsDefined | Indicates whether a custom attribute identified by the specified Type is defined. |
![]() Load Supported by the .NET Compact Framework. | Overloaded. Loads an assembly. |
![]() LoadFile | Overloaded. Loads the contents of an assembly file. |
![]() LoadFrom Supported by the .NET Compact Framework. | Overloaded. Loads an assembly. |
LoadModule | Overloaded. Loads the module internal to this assembly. |
![]() LoadWithPartialName | Overloaded. Loads an assembly from the application directory or from the global assembly cache using a partial name. |
ToString Supported by the .NET Compact Framework. | Overridden. Returns the full name of the assembly, also known as the display name. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
