.NET Framework Class Library
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.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCreateInstanceOverloaded. Locates a type from this assembly and creates an instance of it using the system activator.
Public methodStatic memberCreateQualifiedNameCreates the name of a type qualified by the display name of its assembly.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsOverloaded.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetAssemblyGets the currently loaded assembly in which the specified class is defined.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetCallingAssemblyReturns the Assembly of the method that invoked the currently executing method.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetCustomAttributesOverloaded. Gets the custom attributes for this assembly.
Public methodStatic memberGetEntryAssemblyGets 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 memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetExecutingAssemblyGets the assembly that contains the code that is currently executing.
Public methodGetExportedTypesGets the public types defined in this assembly that are visible outside the assembly.
Public methodGetFileGets a FileStream for the specified file in the file table of the manifest of this assembly.
Public methodGetFilesOverloaded. Gets the files in the file table of an assembly manifest.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeOverloaded.
Public methodGetLoadedModulesOverloaded. Gets all the loaded modules that are part of this assembly.
Public methodGetManifestResourceInfoReturns information about how the given resource has been persisted.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetManifestResourceNamesReturns the names of all the resources in this assembly.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetManifestResourceStreamOverloaded. Loads the specified manifest resource from this assembly.
Public methodGetModuleGets the specified module in this assembly.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetModulesOverloaded. Gets all the modules that are part of this assembly.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetNameOverloaded. Gets an AssemblyName for this assembly.
Public methodGetObjectDataGets serialization information with all of the data needed to reinstantiate this assembly.
Public methodGetReferencedAssembliesGets the AssemblyName objects for all the assemblies referenced by this assembly.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetSatelliteAssemblyOverloaded. Gets the satellite assembly.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeOverloaded. Gets the Type object that represents the specified type.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypesGets the types defined in this assembly.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsDefinedIndicates whether or not a specified attribute has been applied to the assembly.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkLoadOverloaded. Loads an assembly.
Public methodStatic memberLoadFileOverloaded. Loads the contents of an assembly file.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkLoadFromOverloaded. Loads an assembly.
Public methodLoadModuleOverloaded. Loads the module internal to this assembly.
Public methodStatic memberLoadWithPartialNameOverloaded. Loads an assembly from the application directory or from the global assembly cache using a partial name.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberReflectionOnlyLoadOverloaded. Loads an assembly into the reflection-only context, where it can be examined but not executed.
Public methodStatic memberReflectionOnlyLoadFromLoads an assembly into the reflection-only context, given its path.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringReturns the full name of the assembly, also known as the display name. (Overrides Object..::.ToString()()().)
Top
Properties

  NameDescription
Public propertyCodeBaseGets the location of the assembly as specified originally, for example, in an AssemblyName object.
Public propertyEntryPointGets the entry point of this assembly.
Public propertyEscapedCodeBaseGets the URI, including escape characters, that represents the codebase.
Public propertyEvidenceGets the evidence for this assembly.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkFullNameGets the display name of the assembly.
Public propertyGlobalAssemblyCacheGets a value indicating whether the assembly was loaded from the global assembly cache.
Public propertyHostContextGets the host context with which the assembly was loaded.
Public propertyImageRuntimeVersionGets a string representing the version of the common language runtime (CLR) saved in the file containing the manifest.
Public propertyLocationGets the path or UNC location of the loaded file that contains the manifest.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkManifestModuleGets the module that contains the manifest for the current assembly.
Public propertyReflectionOnlyGets a Boolean value indicating whether this assembly was loaded into the reflection-only context.
Top
Events

  NameDescription
Public eventModuleResolveOccurs when the common language runtime class loader cannot resolve a reference to an internal module of an assembly through normal means.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate method_Assembly..::.GetTypeReturns the type of the current instance.
Top
See Also

Reference

Tags :


Page view tracker