This documentation is archived and is not being maintained.

Assembly Members

Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.

The Assembly type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CreateInstance Overloaded. Locates a type from this assembly and creates an instance of it using the system activator.
Public method Static member CreateQualifiedName Creates the name of a type qualified by the display name of its assembly.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether this assembly and the specified object are equal. (Overrides Object.Equals(Object).)

In .NET Compact Framework 3.5, this member is inherited from Object.Equals(Object).


In XNA Framework 3.0, this member is inherited from Object.Equals(Object).
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetAssembly Gets the currently loaded assembly in which the specified class is defined.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetCallingAssembly Returns the Assembly of the method that invoked the currently executing method.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetCustomAttributes Overloaded. Gets the custom attributes for this assembly.
Public method Static member 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 method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetExecutingAssembly Gets the assembly that contains the code that is currently executing.
Public method GetExportedTypes Gets the public types defined in this assembly that are visible outside the assembly.
Public method GetFile Gets a FileStream for the specified file in the file table of the manifest of this assembly.
Public method GetFiles Overloaded. Gets the files in the file table of an assembly manifest.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)

In .NET Compact Framework 3.5, this member is inherited from Object.GetHashCode().


In XNA Framework 3.0, this member is inherited from Object.GetHashCode().
Public method GetLoadedModules Overloaded. Gets all the loaded modules that are part of this assembly.
Public method GetManifestResourceInfo Returns information about how the given resource has been persisted.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetManifestResourceNames Returns the names of all the resources in this assembly.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetManifestResourceStream Overloaded. Loads the specified manifest resource from this assembly.
Public method GetModule Gets the specified module in this assembly.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetModules Overloaded. Gets all the modules that are part of this assembly.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetName Overloaded. Gets an AssemblyName for this assembly.
Public method GetObjectData Gets serialization information with all of the data needed to reinstantiate this assembly.
Public method GetReferencedAssemblies Gets the AssemblyName objects for all the assemblies referenced by this assembly.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetSatelliteAssembly Overloaded. Gets the satellite assembly.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Overloaded. Gets the Type object that represents the specified type.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetTypes Gets the types defined in this assembly.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsDefined Indicates whether or not a specified attribute has been applied to the assembly.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Load Overloaded. Loads an assembly.
Public method Static member LoadFile Overloaded. Loads the contents of an assembly file.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework LoadFrom Overloaded. Loads an assembly.
Public method LoadModule Overloaded. Loads the module internal to this assembly.
Public method Static member LoadWithPartialName Overloaded. Loads an assembly from the application directory or from the global assembly cache using a partial name.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member ReflectionOnlyLoad Overloaded. Loads an assembly into the reflection-only context, where it can be examined but not executed.
Public method Static member ReflectionOnlyLoadFrom Loads an assembly into the reflection-only context, given its path.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns the full name of the assembly, also known as the display name. (Overrides Object.ToString().)
Top

  NameDescription
Public property CodeBase Gets the location of the assembly as specified originally, for example, in an AssemblyName object.
Public property EntryPoint Gets the entry point of this assembly.
Public property EscapedCodeBase Gets the URI, including escape characters, that represents the codebase.
Public property Evidence Gets the evidence for this assembly.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework FullName Gets the display name of the assembly.
Public property GlobalAssemblyCache Gets a value indicating whether the assembly was loaded from the global assembly cache.
Public property HostContext Gets the host context with which the assembly was loaded.
Public property ImageRuntimeVersion Gets a string representing the version of the common language runtime (CLR) saved in the file containing the manifest.
Public property Location Gets the path or UNC location of the loaded file that contains the manifest.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ManifestModule Gets the module that contains the manifest for the current assembly.
Public property ReflectionOnly Gets a Boolean value indicating whether this assembly was loaded into the reflection-only context.
Top

  NameDescription
Public event ModuleResolve Occurs when the common language runtime class loader cannot resolve a reference to an internal module of an assembly through normal means.
Top

  NameDescription
Explicit interface implemetation Private method _Assembly.GetType Returns the type of the current instance.
Top
Show: