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


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


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.


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