This enumeration is used by the FieldInfo.Attributes property.
Member Name Description Assembly Specifies that the field is accessible throughout the assembly. FamANDAssem Specifies that the field is accessible only to the members of the type that defines the field and its subclasses in the assembly. Family Specifies that the field is accessible only to the type that defines the field and its subclasses. FamORAssem Specifies that the field is accessible only to the members of the type that defines the field and its subclasses as well as throughout the assembly. FieldAccessMask Specifies a bit-mask that, when combined with the FieldInfo.Attributes of a field using the logical AND operator, yields the bits that specify the accessibility of a field. HasDefault Documentation for this section has not yet been entered. HasFieldMarshal Documentation for this section has not yet been entered. HasFieldRVA Documentation for this section has not yet been entered. InitOnly Specifies that the field is initialized only, and cannot be written after initialization. Literal Specifies that the field's value is a compile-time (static or early bound) constant. NotSerialized Documentation for this section has not yet been entered. PinvokeImpl Specifies that the implementation of a field is forwarded through Platform Invocation Services (PInvoke). Private Specifies that the field is accessible only to members in the type in which it is defined. PrivateScope Specifies that the field cannot be referenced. Public Specifies that the field is accessible to any member. ReservedMask Documentation for this section has not yet been entered. RTSpecialName Documentation for this section has not yet been entered. SpecialName Specifies that the field is treated in a special way by some tools.
Note:For more information on special names, see Partition I of the CLI Specification.
For more information on SpecialName in metadata, see Partition II of the CLI Specification.
Static Specifies that the field associated with the defining type and is shared by all instances of the type in which it is defined.
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0