System.Reflection.FieldInfo: Property Members

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

Public Properties

[read-only]
abstract
AttributesFieldAttributes.

Gets the attributes associated with this field.

[read-only]
abstract
FieldHandleRuntimeFieldHandle.

Gets a RuntimeFieldHandle, which is a handle to the internal metadata representation of a field.

[read-only]
abstract
FieldTypeType.

Gets the type of this field object.

[read-only]
IsAssemblybool.

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]
IsFamilybool.

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]
IsFamilyAndAssemblybool.

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]
IsFamilyOrAssemblybool.

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]
IsInitOnlybool.

Gets a value indicating whether the field can only be set in the body of the constructor.

[read-only]
IsLiteralbool.

Gets a value indicating whether the value is written at compile time and cannot be changed.

[read-only]
IsNotSerializedbool.

Gets a value indicating whether this field has the NotSerialized attribute.

[read-only]
IsPinvokeImplbool.

Gets a value indicating whether the corresponding PinvokeImpl attribute is set in System.Reflection.FieldAttributes.

[read-only]
IsPrivatebool.

Gets a value indicating whether the field is private.

[read-only]
IsPublicbool.

Gets a value indicating whether the field is public.

[read-only]
IsSecurityCriticalbool.

Gets a value that indicates whether the current field is security-critical or security-safe-critical at the current trust level.

[read-only]
IsSecuritySafeCriticalbool.

Gets a value that indicates whether the current field is security-safe-critical at the current trust level.

[read-only]
IsSecurityTransparentbool.

Gets a value that indicates whether the current field is transparent at the current trust level.

[read-only]
IsSpecialNamebool.

Gets a value indicating whether the corresponding SpecialName attribute is set in the System.Reflection.FieldAttributes enumerator.

[read-only]
IsStaticbool.

Gets a value indicating whether the field is static.

[read-only]
override
MemberTypeMemberTypes.

Gets a System.Reflection.MemberTypes value indicating that this member is a field.