Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FieldInfo Methods

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetCustomAttributes  Overloaded. When overridden in a derived class, returns all attributes applied to this member. (Inherited from MemberInfo.)
Public method Static Supported by the .NET Compact Framework GetFieldFromHandle Overloaded. Gets a FieldInfo for the field represented by a handle.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetOptionalCustomModifiers Gets an array of types that identify the optional custom modifiers of the field.
Public method GetRawConstantValue Returns a literal value associated with the field by a compiler.
Public method GetRequiredCustomModifiers Gets an array of types that identify the required custom modifiers of the property.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetValue When overridden in a derived class, returns the value of a field supported by a given object.
Public method GetValueDirect Returns the value of a field supported by a given object.
Public method Supported by the .NET Compact Framework IsDefined  When overridden in a derived class, indicates whether one or more instance of attributeType is applied to this member. (Inherited from MemberInfo.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework SetValue Overloaded. Sets the value of the field for the given object to the given value.
Public method SetValueDirect Sets the value of the field supported by the given object.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.Runtime.InteropServices._FieldInfo.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implementation Method System.Runtime.InteropServices._FieldInfo.GetType Gets a Type object representing the FieldInfo type.
Explicit interface implementation Method System.Runtime.InteropServices._FieldInfo.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implementation Method System.Runtime.InteropServices._FieldInfo.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implementation Method System.Runtime.InteropServices._FieldInfo.Invoke Provides access to properties and methods exposed by an object.
Top

Community Additions

Show:
© 2014 Microsoft