IDispatchImplAttribute

IDispatchImplAttribute

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

There are multiple implementations of IDispatch available for you to expose dual interfaces and dispinterfaces to COM. Attach this attribute to a class or an assembly to specify which IDispatch implementation to use. If you apply this attribute to an assembly, it applies to all classes within that assembly. For a list of available IDispatch implementations, see IDispatchImplType .

 public sealed class  IDispatchImplAttribute  : Attribute {  // Public Constructors  public  IDispatchImplAttribute  (IDispatchImplType   implType   );    public  IDispatchImplAttribute  (short   implType   );  // Public Instance Properties  public IDispatchImplType  Value  {get; } } 

Hierarchy

System.Object System.Attribute IDispatchImplAttribute

Valid On

Assembly, 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