FieldInfo Members
Public Properties
Attributes Supported by the .NET Compact Framework. | Gets the attributes associated with this field. |
DeclaringType (inherited from MemberInfo)
Supported by the .NET Compact Framework. | Gets the class that declares this member. |
FieldHandle Supported by the .NET Compact Framework. | Gets a RuntimeFieldHandle, which is a handle to the internal metadata representation of a field. |
FieldType Supported by the .NET Compact Framework. | Gets the type of this field object. |
IsAssembly Supported by the .NET Compact Framework. | Gets a value indicating whether this field has Assembly level visibility. |
IsFamily Supported by the .NET Compact Framework. | Gets a value indicating whether this field has Family level visibility. |
IsFamilyAndAssembly Supported by the .NET Compact Framework. | Gets a value indicating whether this field has FamilyAndAssembly level visibility. |
IsFamilyOrAssembly Supported by the .NET Compact Framework. | Gets a value indicating whether this field has FamilyOrAssembly level visibility. |
IsInitOnly Supported by the .NET Compact Framework. | Gets a value indicating whether the field can only be set in the body of the constructor. |
IsLiteral Supported by the .NET Compact Framework. | Gets a value indicating whether the value is written at compile time and cannot be changed. |
IsNotSerialized Supported by the .NET Compact Framework. | Gets a value indicating whether this field has the NotSerialized attribute. |
IsPinvokeImpl Supported by the .NET Compact Framework. | Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes. |
IsPrivate Supported by the .NET Compact Framework. | Gets a value indicating whether the field is private. |
IsPublic Supported by the .NET Compact Framework. | Gets a value indicating whether the field is public. |
IsSpecialName Supported by the .NET Compact Framework. | Gets a value indicating whether the corresponding SpecialName attribute is set in the FieldAttributes enumerator. |
IsStatic Supported by the .NET Compact Framework. | Gets a value indicating whether the field is static. |
MemberType Supported by the .NET Compact Framework. | Overridden. Gets the Type of property reflected by this FieldInfo object. The retrieved value indicates that this member is a field. |
Name (inherited from MemberInfo)
Supported by the .NET Compact Framework. | Gets the name of this member. |
ReflectedType (inherited from MemberInfo)
Supported by the .NET Compact Framework. | Gets the class object that was used to obtain this instance of MemberInfo. |
Public Methods
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
GetCustomAttributes (inherited from MemberInfo)
Supported by the .NET Compact Framework. | Overloaded. When overridden in a derived class, returns all attributes defined on this member. |
![]() GetFieldFromHandle Supported by the .NET Compact Framework. | Gets a FieldInfo containing the value of the field reflected by this instance. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
GetValue Supported by the .NET Compact Framework. | When overridden in a derived class, returns the value of a field supported by a given object. |
GetValueDirect | Returns the value of a field supported by a given object. |
IsDefined (inherited from MemberInfo)
Supported by the .NET Compact Framework. | When overridden in a derived class, indicates whether one or more instance of attributeType is defined on this member. |
SetValue Supported by the .NET Compact Framework. | Overloaded. Sets the value of the field for the given object to the given value. |
SetValueDirect | Sets the value of the field supported by the given object. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Protected Constructors
FieldInfo Constructor Supported by the .NET Compact Framework. | Initializes a new instance of the FieldInfo class. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
