public enum FieldAttributes
Object
ValueType
Enum
FieldAttributes
mscorlib
Reflection
Specifies flags that describe the attributes of a field.
This enumeration is used by the System.Reflection.FieldInfo.Attributes property.
System.Reflection Namespace
FieldAttributes Fields
FieldAttributes.Assembly Field
FieldAttributes.FamANDAssem Field
FieldAttributes.FamORAssem Field
FieldAttributes.Family Field
FieldAttributes.FieldAccessMask Field
FieldAttributes.InitOnly Field
FieldAttributes.Literal Field
FieldAttributes.PinvokeImpl Field
FieldAttributes.Private Field
FieldAttributes.PrivateScope Field
FieldAttributes.Public Field
FieldAttributes.SpecialName Field
FieldAttributes.Static Field
FieldAttributes.value__ Field
Assembly = 3;
Specifies that the field is accessible throughout the assembly.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
FamANDAssem = 2;
Specifies that the field is accessible only to the members of the type that defines the field and its subclasses in the assembly.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
FamORAssem = 5;
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.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
Family = 4;
Specifies that the field is accessible only to the type that defines the field and its subclasses.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
FieldAccessMask = 7;
Specifies a bit-mask that, when combined with the System.Reflection.FieldInfo.Attributes of a field using the logical AND operator, yields the bits that specify the accessibility of a field.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
InitOnly = 32;
Specifies that the field is initialized only, and cannot be written after initialization.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
Literal = 64;
Specifies that the field's value is a compile-time (static or early bound) constant.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
PinvokeImpl = 8192;
Specifies that the implementation of a field is forwarded through Platform Invocation Services (PInvoke).
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
Private = 1;
Specifies that the field is accessible only to members in the type in which it is defined.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
PrivateScope = 0;
Specifies that the field cannot be referenced.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
Public = 6;
Specifies that the field is accessible to any member.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
SpecialName = 512;
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.]
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
Static = 16;
Specifies that the field associated with the defining type and is shared by all instances of the type in which it is defined.
System.Reflection.FieldAttributes Enum, System.Reflection Namespace
value__;
System.Reflection.FieldAttributes Enum, System.Reflection Namespace