ComSourceInterfacesAttribute

ComSourceInterfacesAttribute

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

This attribute indicates the unmanaged event (using the COM IConnectionPoint architecture) interfaces that are available on the decorated type. For each method defined in the COM interface, the type must provide a corresponding "event" instance that the COM architecture will plug into.

This attribute is only necessary when building .NET objects for plugging into COM event-aware systems, such as ActiveX control containers.

public sealed class ComSourceInterfacesAttribute : Attribute {
// Public Constructors
   public ComSourceInterfacesAttribute(string sourceInterfaces);
   public ComSourceInterfacesAttribute(Type sourceInterface);
   public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2);
   public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, 
        Type sourceInterface3);
   public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2,
       Type sourceInterface3, Type sourceInterface4);
// Public Instance Properties
   public string Value{get; }
}

Hierarchy

System.Object System.Attribute ComSourceInterfacesAttribute

Valid On

Class



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System
     
    ASPTreeView.com
     
    Evaluation has ЙЅµФexpired.
    Info...