System.Runtime.InteropServices.TypeLibVarAttribute Class

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

See Also: TypeLibVarAttribute Members

Syntax

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

Remarks

The [<topic://cpgrftypelibraryImportertlbimpexe>] applies this attribute to fields.

This attribute is applied when a type library is imported and should never be changed. It is only applied when the method's VARFLAGS evaluate to non-zero. The attribute is designed to be used by tools that need to know how the original VARFLAGS 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