August 2003
Intermediate to advanced
928 pages
32h 1m
English
ComSourceInterfacesAttribute
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(stringsourceInterfaces); public ComSourceInterfacesAttribute(TypesourceInterface); public ComSourceInterfacesAttribute(TypesourceInterface1, TypesourceInterface2); public ComSourceInterfacesAttribute(TypesourceInterface1, TypesourceInterface2, TypesourceInterface3); public ComSourceInterfacesAttribute(TypesourceInterface1, TypesourceInterface2, TypesourceInterface3, TypesourceInterface4); // Public Instance Properties public string Value{get; } }
System.Object
→
System.Attribute
→
ComSourceInterfacesAttribute
Class