System.Runtime.InteropServices.TypeLibImportClassAttribute Class

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

See Also: TypeLibImportClassAttribute Members

Syntax

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

Remarks

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.

Requirements

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