Windows Dev Center

Assembly Methods

The Assembly type exposes the following members.

  NameDescription
Public method CreateInstance Locates the specified type from this assembly and creates an instance of it using the system activator, using case-sensitive search.
Public method Equals Determines whether this assembly and the specified object are equal. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetCallingAssembly Returns the Assembly of the method that invoked the currently executing method.
Public method GetCustomAttributes(Boolean) Gets all the custom attributes for this assembly.
Public method GetCustomAttributes(Type, Boolean) Gets the custom attributes for this assembly as specified by type.
Public method Static member GetExecutingAssembly Gets the assembly that contains the code that is currently executing.
Public method GetExportedTypes Gets the types defined in this assembly that are visible outside the assembly.
Public method GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)
Public method GetManifestResourceInfo Returns information about how the given resource has been persisted.
Public method GetManifestResourceNames Returns the names of all the resources in this assembly.
Public method GetManifestResourceStream(String) Loads the specified manifest resource from this assembly.
Public method GetManifestResourceStream(Type, String) Loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.
Public method GetModules Gets all the modules that are part of this assembly.
Public method GetName() Security Critical. Gets an AssemblyName for this assembly.
Public method GetName(Boolean) Security Critical. Gets an AssemblyName for this assembly, setting the codebase as specified by copiedName.
Public method GetSatelliteAssembly(CultureInfo) Gets the satellite assembly for the specified culture.
Public method GetSatelliteAssembly(CultureInfo, Version) Gets the specified version of the satellite assembly for the specified culture.
Public method GetType() Gets the Type of the current instance. (Inherited from Object.)
Public method GetType(String) Gets the Type object with the specified name in the assembly instance.
Public method GetType(String, Boolean) Gets the Type object with the specified name in the assembly instance and optionally throws an exception if the type is not found.
Public method GetTypes Gets the types defined in this assembly.
Public method IsDefined Indicates whether or not a specified attribute has been applied to the assembly.
Public method Static member Load(AssemblyName) Security Critical. Loads an assembly given its AssemblyName.
Public method Static member Load(String) Loads an assembly given the long form of its name.
Public method Static member LoadFrom Security Critical. Loads an assembly given its file name or path.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the full name of the assembly, also known as the display name. (Overrides Object.ToString().)
Top

  NameDescription
Public Extension Method GetCustomAttribute(Type) Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified assembly. (Defined by CustomAttributeExtensions.)
Public Extension Method GetCustomAttribute<T>() Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified assembly. (Defined by CustomAttributeExtensions.)
Public Extension Method GetCustomAttributes() Overloaded. Retrieves a collection of custom attributes that are applied to a specified assembly. (Defined by CustomAttributeExtensions.)
Public Extension Method GetCustomAttributes(Type) Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly. (Defined by CustomAttributeExtensions.)
Public Extension Method GetCustomAttributes<T>() Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly. (Defined by CustomAttributeExtensions.)
Public Extension Method IsDefined Indicates whether custom attributes of a specified type are applied to a specified assembly. (Defined by CustomAttributeExtensions.)
Top

Show:
© 2015 Microsoft