The PropertyInfo class reflects a property.
Properties are logically the same as fields. A property is a named aspect of an object's state whose value is typically accessible through get and set-accessors. Properties may be read-only, in which case a set routine is not supported. Initializes an instance of the PropertyInfo class.
Object
MemberInfo
PropertyInfo
[Visual Basic] MustInherit Public Class PropertyInfo Inherits MemberInfo [C#] public abstract class PropertyInfo : MemberInfo [C++] public __gc __abstract class PropertyInfo : public MemberInfo [JScript] public abstract class PropertyInfo extends MemberInfo
Several methods in this class assume that the getter and setter methods of a property have certain formats. If the following format is not followed, the behavior of the GetValue and SetValue methods is undefined.
The signatures of the get and set methods must match the following convention:
PropertyGet
Namespace: System.Reflection
Assembly: mscorlib.dll