ComImportAttribute

ComImportAttribute

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

This attribute indicates that the type decorated by this attribute is in fact an unmanaged type defined in a previously published type library and should be treated differently internally to support that.

This attribute is necessary only if the .NET type definitionthe class definition in C#This interface indicates a type whose members can be removed or added. The members are represented as System.Reflection.MemberInfo objects.

is merely a "shim" for interacting with the unmanaged version. In most cases, .NET programmers only use this type when interacting with existing COM APIs, such as when building Explorer Shell Extensions.

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

Hierarchy

System.Object System.Attribute ComImportAttribute

Valid On

Class, Interface



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