Mono Class Library: System.Reflection NamespaceSystem.Reflection.PropertyInfo Class |
See Also: PropertyInfo Members
System.Object
System.Reflection.MemberInfo
System.Reflection.PropertyInfo
|
This type is safe for multithreaded operations.
A property is a named aspect of an object's state whose value is typically accessible through Get and Set accessors.
Note: Properties can be read-only, in which case the Set accessor is not available.Several methods in this class assume that the Get and Set accessors of a property have certain formats. The signatures of the accessors are required to match the following conventions:
- The return type of the Get accessor and the last argument of the Set accessor are required to be identical to the type of the property reflected by the current instance.
- The Get and Set accessors are required to have the same number, type, and order of indices.
If this format is not followed, the behavior of the PropertyInfo.GetValue(object, Object[]) and PropertyInfo.SetValue(object, object, Object[]) methods is undefined.
[Edit]
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0