mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Method, Inherited=false) System.Runtime.InteropServices.ComVisible(true)

You can apply this attribute to methods.

enables you to add arbitrary registration code to accommodate the requirements of COM clients. For example, you can update the registry using registration functions from the namespace. If you provide a registration method, you must also apply to an unregistration method, which reverses the operations done in the registration method.

The common language runtime calls the method with this attribute when its containing assembly is registered (directly or indirectly) with the [<topic://cpgrfassemblyregistrationtoolregasmexe>]or through the method.

This attribute can be applied only to methods that have the following characteristics:

Scope: Any (public, private, and so on).

Type: static.

Parameters: Accepts a single parameter or a parameter type.

Return type: void.

Specifies the method to call when you register an assembly for use from COM; this enables the execution of user-written code during the registration process.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  To be added

  Initializes a new instance of the class.