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



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net