System.Runtime.InteropServices.TypeLibImportClassAttribute Class

Specifies which Type exclusively uses an interface. This class cannot be inherited.

See Also: TypeLibImportClassAttribute Members


[System.AttributeUsage(System.AttributeTargets.Interface, Inherited=false)]
public sealed class TypeLibImportClassAttribute : Attribute


Apply the System.Runtime.InteropServices.TypeLibImportClassAttribute attribute to a managed interface to specify which Type object exclusively uses the interface. This attribute allows COM interoperation to map the interface back to the original type when converting the interface from metadata to a type library and back again.


Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,