System.Runtime.InteropServices.TypeLibTypeAttribute Class

Contains the System.Runtime.InteropServices.TYPEFLAGS that were originally imported for this type from the COM type library.

See Also: TypeLibTypeAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.All, Inherited=false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class TypeLibTypeAttribute : Attribute

Remarks

The [<topic://cpgrftypelibraryImportertlbimpexe>] applies this attribute to classes or interfaces.

This attribute is applied when a type library is imported and should never be changed. It is only applied when the method's System.Runtime.InteropServices.TYPEFLAGS evaluate to non-zero. The attribute is designed to be used by tools that need to know how the original System.Runtime.InteropServices.TYPEFLAGS were set. The common language runtime does not use this attribute.

Requirements

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