System.Runtime.InteropServices.TypeIdentifierAttribute Class

Provides support for type equivalence.

See Also: TypeIdentifierAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Delegate | System.AttributeTargets.All, Inherited=false)]
public sealed class TypeIdentifierAttribute : Attribute

Remarks

The System.Runtime.InteropServices.TypeIdentifierAttribute attribute is primarily emitted by compilers. It serves two purposes:

Type equivalence is discussed in the Type.IsEquivalentTo(Type) topic.

Requirements

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