JHProperty Class

DCSoft.DBUtilityGeneric

JHProperty Class
帮助处理属性(Property)的属性(Attribute)信息,该类为密封类
Inheritance Hierarchy
SystemObject  DCSoft.Utility.ReflectionJHProperty

Namespace: DCSoft.Utility.Reflection
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHProperty

The JHProperty type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberGetDataTableSchema
通过属性 (Property) 的属性 (Attribute) 列表,创建对应的表格框架
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberGetValue(Object, PropertyInfo)
获取指定对象属性 (Property) 的值,如果该属性不存在或不可读则返回 null
Public methodStatic memberGetValue(Object, String)
获取指定对象指定属性 (Property) 名的值,如果该属性不存在或不可读则返回 null
Public methodStatic memberSetValue(Object, PropertyInfo, Object)
设置指定对象属性 (Property) 的值,如果该属性不存在或不可写,或者设置的值无效,则返回
Public methodStatic memberSetValue(Object, String, Object)
设置指定对象指定属性 (Property) 名的值,如果该属性不存在或不可写,或者设置的值无效,则返回
Public methodToString (Inherited from Object.)
Top
See Also