FieldInfo Properties

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The FieldInfo type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Attributes Gets the attributes that are associated with this field.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 DeclaringType Gets the class that declares this member. (Inherited from MemberInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 FieldHandle Gets a handle to the internal metadata representation of a field.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 FieldType Gets the type of this field object.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsAssembly Gets a value that indicates 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.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsFamily Gets a value that indicates whether the visibility of this field is described by FieldAttributes.Family; that is, the field is visible only within its class and derived classes.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsFamilyAndAssembly Gets a value that indicates 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.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsFamilyOrAssembly Gets a value that indicates 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.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsInitOnly Gets a value that indicates whether the field can be set only in the body of the constructor.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsLiteral Gets a value that indicates whether the value is written at compile time and cannot be changed.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsNotSerialized Gets a value that indicates whether this field has the NotSerialized attribute.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsPinvokeImpl Gets a value that indicates whether the corresponding PinvokeImpl attribute is set in FieldAttributes.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsPrivate Gets a value that indicates whether the field is private.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsPublic Gets a value that indicates whether the field is public.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsSpecialName Gets a value that indicates whether the field has a name that has special significance.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsStatic Gets a value that indicates whether the field is static (Shared in Visual Basic).
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberType Gets a value that indicates that this member is a field. (Overrides MemberInfo.MemberType.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 MetadataToken Gets a value that identifies a metadata element. (Inherited from MemberInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Module Gets the module in which the type that declares the member represented by the current MemberInfo is defined. (Inherited from MemberInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Name Gets the name of the current member. (Inherited from MemberInfo.)
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 ReflectedType Gets the class object that was used to obtain this instance of MemberInfo. (Inherited from MemberInfo.)

Top