Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Assembly Members

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

The following tables list the members exposed by the Assembly type.

  Name Description
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

(see also Protected Methods )
  Name Description
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 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  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static GetAssembly Gets the currently loaded assembly in which the specified class is defined.
Public method Static 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 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 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  Serves as a hash function for a particular type. (inherited from Object)
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 Supported by the .NET Compact Framework Supported by the XNA Framework Load Overloaded. Loads an assembly.
Public method Static LoadFile Overloaded. Loads the contents of an assembly file.
Public method Static 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 LoadWithPartialName Overloaded. Loads an assembly from the application directory or from the global assembly cache using a partial name.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static ReflectionOnlyLoad Overloaded. Loads an assembly into the reflection-only context, where it can be examined but not executed.
Public method Static 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 Overridden. Returns the full name of the assembly, also known as the display name.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
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)
Top

  Name Description
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

Community Additions

Show:
© 2015 Microsoft