Specifies flags that describe the attributes of a field.
[
Edit]
[System.Flags] [System.Runtime.InteropServices.ComVisible(true)] public enum FieldAttributes |
|
Remarks
Members
Member Name | Description |
---|
Assembly |
Specifies that the field is accessible throughout the assembly.
[Edit]
|
FamANDAssem |
Specifies that the field is accessible only to the
members of the type that defines the field and its subclasses in the assembly.
[Edit]
|
Family | Specifies that the field is accessible only to the type that defines the field and its subclasses.
[Edit]
|
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.
[Edit]
|
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.
[Edit]
|
HasDefault | Documentation for this section has not yet been entered.
[Edit]
|
HasFieldMarshal | Documentation for this section has not yet been entered.
[Edit]
|
HasFieldRVA | Documentation for this section has not yet been entered.
[Edit]
|
InitOnly |
Specifies that the field is initialized only, and cannot be written after
initialization.
[Edit]
|
Literal |
Specifies that the field's value is a compile-time
(static or early bound) constant.
[Edit]
|
NotSerialized | Documentation for this section has not yet been entered.
[Edit]
|
PinvokeImpl | Specifies
that the implementation of a field is forwarded through Platform Invocation
Services (PInvoke).
[Edit]
|
Private | Specifies that the field is accessible only to members in the type in which it is defined.
[Edit]
|
PrivateScope |
Specifies that the field cannot be referenced.
[Edit]
|
Public | Specifies that the field is accessible to
any member.
[Edit]
|
ReservedMask | Documentation for this section has not yet been entered.
[Edit]
|
RTSpecialName | Documentation for this section has not yet been entered.
[Edit]
|
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.
[Edit]
|
Static | Specifies that the field associated with the defining
type and is shared by all instances of the type in which it is
defined.
[Edit]
|
Requirements
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0