Mono Class Library: System.Reflection Namespace

System.Reflection.PropertyInfo Class

Provides access to property metadata. [Edit]

See Also: PropertyInfo Members

System.Object
     System.Reflection.MemberInfo
          System.Reflection.PropertyInfo

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComDefaultInterface(typeof(System.Runtime.InteropServices._PropertyInfo))]
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class PropertyInfo : MemberInfo, System.Runtime.InteropServices._PropertyInfo

Thread Safety

This type is safe for multithreaded operations.

Remarks

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:

If this format is not followed, the behavior of the PropertyInfo.GetValue(object, Object[]) and PropertyInfo.SetValue(object, object, Object[]) methods is undefined.

[Edit]

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0