Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

public methodCreateInstance

Supported by the .NET Compact Framework.

Overloaded. Locates a type from this assembly and creates an instance of it using the system activator.
public methodstatic (Shared in Visual Basic)CreateQualifiedName Creates the name of a type qualified by the display name of its assembly.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodstatic (Shared in Visual Basic)GetAssembly Gets the assembly in which the specified class is defined.
public methodstatic (Shared in Visual Basic)GetCallingAssembly

Supported by the .NET Compact Framework.

Returns the Assembly of the method that invoked the currently executing method.
public methodGetCustomAttributes Overloaded. Gets the custom attributes for this assembly.
public methodstatic (Shared in Visual Basic)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.
public methodstatic (Shared in Visual Basic)GetExecutingAssembly

Supported by the .NET Compact Framework.

Gets the Assembly that the current code is running from.
public methodGetExportedTypes Gets the exported types defined in this assembly.
public methodGetFile Gets a FileStream for the specified file in the file table of the manifest of this assembly.
public methodGetFiles Overloaded. Gets the files in the file table of an assembly manifest.
public methodGetHashCode (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.
public methodGetLoadedModules Overloaded. Gets all the loaded modules that are part of this assembly.
public methodGetManifestResourceInfo Returns information about how the given resource has been persisted.
public methodGetManifestResourceNames

Supported by the .NET Compact Framework.

Returns the names of all the resources in this assembly.
public methodGetManifestResourceStream

Supported by the .NET Compact Framework.

Overloaded. Loads the specified manifest resource from this assembly.
public methodGetModule Gets the specified module in this assembly.
public methodGetModules

Supported by the .NET Compact Framework.

Overloaded. Gets all the modules that are part of this assembly.
public methodGetName

Supported by the .NET Compact Framework.

Overloaded. Gets an AssemblyName for this assembly.
public methodGetObjectData Gets serialization information with all of the data needed to reinstantiate this assembly.
public methodGetReferencedAssemblies Gets the AssemblyName objects for all the assemblies referenced by this assembly.
public methodGetSatelliteAssembly

Supported by the .NET Compact Framework.

Overloaded. Gets the satellite assembly.
public methodGetType

Supported by the .NET Compact Framework.

Overloaded. Gets the Type object that represents the specified type.
public methodGetTypes

Supported by the .NET Compact Framework.

Gets the types defined in this assembly.
public methodIsDefined Indicates whether a custom attribute identified by the specified Type is defined.
public methodstatic (Shared in Visual Basic)Load

Supported by the .NET Compact Framework.

Overloaded. Loads an assembly.
public methodstatic (Shared in Visual Basic)LoadFile Overloaded. Loads the contents of an assembly file.
public methodstatic (Shared in Visual Basic)LoadFrom

Supported by the .NET Compact Framework.

Overloaded. Loads an assembly.
public methodLoadModule Overloaded. Loads the module internal to this assembly.
public methodstatic (Shared in Visual Basic)LoadWithPartialName Overloaded. Loads an assembly from the application directory or from the global assembly cache using a partial name.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Returns the full name of the assembly, also known as the display name.

Protected Methods

protected methodFinalize (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.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Assembly Class | System.Reflection Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.