The properties of System.Reflection.FieldInfo are listed below. For a list of all members, see the FieldInfo Members list.
See Also: Inherited members from System.Reflection.MemberInfo
[read-only] abstract | Attributes | FieldAttributes.
Gets the attributes associated with this field. |
[read-only] abstract | FieldHandle | RuntimeFieldHandle.
Gets a RuntimeFieldHandle, which is a handle to the internal metadata representation of a field. |
[read-only] abstract | FieldType | Type.
Gets the type of this field object. |
[read-only] | IsAssembly | bool.
Gets a value indicating whether the potential visibility of this field is described by FieldAttributes.Assembly; that is, the field is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly. |
[read-only] | IsFamily | bool.
Gets a value indicating whether the visibility of this field is described by FieldAttributes.Family; that is, the field is visible only within its class and derived classes. |
[read-only] | IsFamilyAndAssembly | bool.
Gets a value indicating whether the visibility of this field is described by FieldAttributes.FamANDAssem; that is, the field can be accessed from derived classes, but only if they are in the same assembly. |
[read-only] | IsFamilyOrAssembly | bool.
Gets a value indicating whether the potential visibility of this field is described by FieldAttributes.FamORAssem; that is, the field can be accessed by derived classes wherever they are, and by classes in the same assembly. |
[read-only] | IsInitOnly | bool.
Gets a value indicating whether the field can only be set in the body of the constructor. |
[read-only] | IsLiteral | bool.
Gets a value indicating whether the value is written at compile time and cannot be changed. |
[read-only] | IsNotSerialized | bool.
Gets a value indicating whether this field has the NotSerialized attribute. |
[read-only] | IsPinvokeImpl | bool.
Gets a value indicating whether the corresponding PinvokeImpl attribute is set in System.Reflection.FieldAttributes. |
[read-only] | IsPrivate | bool.
Gets a value indicating whether the field is private. |
[read-only] | IsPublic | bool.
Gets a value indicating whether the field is public. |
[read-only] | IsSecurityCritical | bool.
Gets a value that indicates whether the current field is security-critical or security-safe-critical at the current trust level. |
[read-only] | IsSecuritySafeCritical | bool.
Gets a value that indicates whether the current field is security-safe-critical at the current trust level. |
[read-only] | IsSecurityTransparent | bool.
Gets a value that indicates whether the current field is transparent at the current trust level. |
[read-only] | IsSpecialName | bool.
Gets a value indicating whether the corresponding SpecialName attribute is set in the System.Reflection.FieldAttributes enumerator. |
[read-only] | IsStatic | bool.
Gets a value indicating whether the field is static. |
[read-only] override | MemberType | MemberTypes.
Gets a System.Reflection.MemberTypes value indicating that this member is a field. |