PropertyInfo Properties

July 28, 2014

The PropertyInfo type exposes the following members.

  NameDescription
Public property Attributes Gets the attributes for this property.
Public property CanRead Gets a value indicating whether the property can be read.
Public property CanWrite Gets a value indicating whether the property can be written to.
Public property CustomAttributes Gets a collection that contains this member's custom attributes. (Inherited from MemberInfo.)
Public property DeclaringType Gets the class that declares this member. (Inherited from MemberInfo.)
Public property GetMethod Gets the get accessor for this property.
Public property IsSpecialName Gets a value indicating whether the name of the property is recognized as a special name by compilers.
Public property MemberType Gets a MemberTypes value indicating that this member is a property. (Overrides MemberInfo.MemberType.)
Public property MetadataToken Gets a value that identifies a metadata element. (Inherited from MemberInfo.)
Public property Module Gets the module in which the type that declares the member represented by the current MemberInfo is defined. (Inherited from MemberInfo.)
Public property Name Gets the name of the current member. (Inherited from MemberInfo.)
Public property PropertyType Gets the type of this property.
Public property ReflectedType Gets the class object that was used to obtain this instance of MemberInfo. (Inherited from MemberInfo.)
Public property SetMethod Gets the set accessor for this property.
Top

Show:
© 2014 Microsoft