ComUnregisterFunctionAttribute

ComUnregisterFunctionAttribute

System.Runtime.InteropServices (mscorlib.dll)sealed class

This attribute is attached to a static method to indicate that it should be invoked when the enclosing assembly is unregistered from COM. There can only be one unregistration function in each assembly.

For more details, see ComRegisterFunctionAttribute.

public sealed class ComUnregisterFunctionAttribute : Attribute {
// Public Constructors
   public ComUnregisterFunctionAttribute( );
}

Hierarchy

System.Object System.Attribute ComUnregisterFunctionAttribute

Valid On

Method



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System