ReflectedField Class
Inheritance Hierarchy

Namespace: IronPython.Runtime.Types
Assembly: IronPython (in IronPython.dll) Version: 2.7
public sealed class ReflectedField : PythonTypeSlot, 

The ReflectedField type exposes the following members.

Public methodReflectedField(FieldInfo)
Initializes a new instance of the ReflectedField class
Public methodReflectedField(FieldInfo, NameType)
Initializes a new instance of the ReflectedField class
Public method__delete__
Public method__get__ (Inherited from PythonTypeSlot.)
Public method__repr__
Public method__set__
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Convenience function for users to call directly
Public methodSetValue
This function can be used to set a field on a value type without emitting a warning. Otherwise it is provided only to have symmetry with properties which have GetValue/SetValue for supporting explicitly implemented interfaces. Setting fields on value types usually warns because it can silently fail to update the value you expect. For example consider this example where Point is a value type with the public fields X and Y: arr = System.Array.CreateInstance(Point, 10) arr[0].X = 42 print arr[0].X prints 0. This is because reading the value from the array creates a copy of the value. Setting the value then mutates the copy and the array does not get updated. The same problem exists when accessing members of a class.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public property__doc__
Public propertyFieldType
Public propertyInfo
See Also